summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-07-11 19:11:23 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-08-01 15:46:21 +0000
commited48fa684707f258ddbcb18f76bc23e6da01482b (patch)
tree39061e8753f200e5c618b6fdadc9ecee4b45b148 /src
parentcd5586887315ce71287b6b9e103199a047899b06 (diff)
mb/emulation/qemu-q35/memmap: Remove redefine macros
SMRAMC, C_BASE_SEG, G_SMRAME, D_LCK, D_CLS, D_OPEN, ESMRAMC, T_EN, TSEG_SZ_MASK and H_SMRAME are already defined in included "q35.h" file. Change-Id: Ic3c01cca14749f77adecc327a78ac011ba3f4c0b Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83429 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/emulation/qemu-q35/memmap.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mainboard/emulation/qemu-q35/memmap.c b/src/mainboard/emulation/qemu-q35/memmap.c
index 150ea113bd..9b391d65c8 100644
--- a/src/mainboard/emulation/qemu-q35/memmap.c
+++ b/src/mainboard/emulation/qemu-q35/memmap.c
@@ -36,16 +36,7 @@ void mainboard_machine_check(void)
/* QEMU-specific register */
#define EXT_TSEG_MBYTES 0x50
-#define SMRAMC 0x9d
#define C_BASE_SEG ((0 << 2) | (1 << 1) | (0 << 0))
-#define G_SMRAME (1 << 3)
-#define D_LCK (1 << 4)
-#define D_CLS (1 << 5)
-#define D_OPEN (1 << 6)
-#define ESMRAMC 0x9e
-#define T_EN (1 << 0)
-#define TSEG_SZ_MASK (3 << 1)
-#define H_SMRAME (1 << 7)
/* Decodes TSEG region size to bytes. */
static size_t decode_tseg_size(u8 esmramc)