diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-01-19 12:52:25 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-01-23 05:19:31 +0000 |
commit | 8324d87bf4f8900971be5584f11110dc261f14e5 (patch) | |
tree | 41201a80178b2977e178a8d84c25702206821483 /src/northbridge/intel/i945/ram_calc.c | |
parent | 36e809ffd61f39da657023e3a7278616ecc4dfb7 (diff) |
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 <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/23330
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/northbridge/intel/i945/ram_calc.c')
-rw-r--r-- | src/northbridge/intel/i945/ram_calc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |