snow: fix high_tables_base calculation

It was off by a few orders of magnitude. D'oh.

Change-Id: I9c8a3d5bd9ce261f914cfc7d05d86a1c61519b81
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/2355
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
David Hendricks 2013-02-11 11:53:42 -08:00 committed by Stefan Reinauer
parent 600784e8b9
commit 5e11f849f7
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ void main(void)
/* place at top of physical memory */ /* place at top of physical memory */
high_tables_size = CONFIG_COREBOOT_TABLES_SIZE; high_tables_size = CONFIG_COREBOOT_TABLES_SIZE;
high_tables_base = CONFIG_SYS_SDRAM_BASE + high_tables_base = CONFIG_SYS_SDRAM_BASE +
((CONFIG_DRAM_SIZE_MB * 1024) * CONFIG_NR_DRAM_BANKS) - ((CONFIG_DRAM_SIZE_MB << 20UL) * CONFIG_NR_DRAM_BANKS) -
CONFIG_COREBOOT_TABLES_SIZE; CONFIG_COREBOOT_TABLES_SIZE;
#endif #endif