summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-05-28 17:38:17 +0200
committerArthur Heymans <arthur@aheymans.xyz>2019-05-29 15:28:59 +0000
commit23fbd052b90be2e9a6c3858bb9b314069e70ea6d (patch)
tree1c87855bc3147894b547989fb5dfbe88b7b0a8de
parentab032b841c3868ea17c90ba73ef3e8bb6193b8ba (diff)
nb/intel/nehalem: Call smm_region_start() function
This also removes the unnecessary mask. TEST: X201 Boots again. Change-Id: Ia637bd01cd7dc1aecd1a87a739d5243c70419553 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33046 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--src/northbridge/intel/nehalem/ram_calc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/nehalem/ram_calc.c b/src/northbridge/intel/nehalem/ram_calc.c
index ca821da2dc..e32190f519 100644
--- a/src/northbridge/intel/nehalem/ram_calc.c
+++ b/src/northbridge/intel/nehalem/ram_calc.c
@@ -35,7 +35,7 @@ static uintptr_t smm_region_start(void)
u32 northbridge_get_tseg_base(void)
{
- return (u32)smm_region_start & ~1;
+ return (u32)smm_region_start();
}
void *cbmem_top(void)