summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/x4x/iomap.h
blob: 3dc01b64b77951906cf075091c6ddb297aa75f85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * This file is part of the coreboot project.
 *
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef X4X_IOMAP_H
#define X4X_IOMAP_H

#define DEFAULT_MCHBAR		0xfed14000	/* 16 KB */
#define DEFAULT_DMIBAR		0xfed18000	/* 4 KB */
#define DEFAULT_EPBAR		0xfed19000	/* 4 KB */
#define DEFAULT_HECIBAR		0xfed10000

#define TPMBASE 0xfed40000
#define TPM32(x) (*((volatile u32 *)(TPMBASE + (x))))

#endif /* X4X_IOMAP_H */