blob: 3dc01b64b77951906cf075091c6ddb297aa75f85 [file] [log] [blame]
Damien Zammit43a1f782015-08-19 15:16:59 +10001/*
2 * This file is part of the coreboot project.
3 *
Damien Zammit43a1f782015-08-19 15:16:59 +10004 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#ifndef X4X_IOMAP_H
17#define X4X_IOMAP_H
18
Damien Zammit43a1f782015-08-19 15:16:59 +100019#define DEFAULT_MCHBAR 0xfed14000 /* 16 KB */
20#define DEFAULT_DMIBAR 0xfed18000 /* 4 KB */
21#define DEFAULT_EPBAR 0xfed19000 /* 4 KB */
22#define DEFAULT_HECIBAR 0xfed10000
23
Martin Rothcbe38922016-01-05 19:40:41 -070024#define TPMBASE 0xfed40000
Arthur Heymans70a1dda2017-03-09 01:58:24 +010025#define TPM32(x) (*((volatile u32 *)(TPMBASE + (x))))
Martin Rothcbe38922016-01-05 19:40:41 -070026
Damien Zammit43a1f782015-08-19 15:16:59 +100027#endif /* X4X_IOMAP_H */