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