From 8324d87bf4f8900971be5584f11110dc261f14e5 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 19 Jan 2018 12:52:25 +0100 Subject: nb/intel/i945: Use ESMRAMC instead of 0x9e Macro renamed to be in accordance with the name used in the datasheet. Change-Id: I5671c39608769b2c5ea2fb17809430f56e5f0b71 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/23330 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/northbridge/intel/i945/ram_calc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/northbridge/intel/i945/ram_calc.c') diff --git a/src/northbridge/intel/i945/ram_calc.c b/src/northbridge/intel/i945/ram_calc.c index 0c337bb54e..990df972e2 100644 --- a/src/northbridge/intel/i945/ram_calc.c +++ b/src/northbridge/intel/i945/ram_calc.c @@ -36,7 +36,7 @@ static uintptr_t smm_region_start(void) tom = (pci_read_config8(PCI_DEV(0, 0, 0), TOLUD) & 0xf7) << 24; /* if TSEG enabled subtract size */ - switch (pci_read_config8(PCI_DEV(0, 0, 0), ESMRAM) & 0x07) { + switch (pci_read_config8(PCI_DEV(0, 0, 0), ESMRAMC) & 0x07) { case 0x01: /* 1MB TSEG */ tom -= 0x100000; -- cgit v1.2.3