diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-09-04 13:05:01 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-09-11 07:12:15 +0200 |
commit | 1ae305efe1a0823c270767ddf6cc02c41ce146f8 (patch) | |
tree | 14d8f7bc15cb886186eb1e81bcd238ca2fac05ec /src/arch/x86/boot/cbmem.c | |
parent | 42f4651434877085f2a44939375bffeeecdb2c37 (diff) | |
download | coreboot-1ae305efe1a0823c270767ddf6cc02c41ce146f8.tar.xz |
CBMEM: Add cbmem_late_set_table() and drop references to high_tables_base
This helper function is for compatibility only for chipsets that do
not implement get_top_of_ram() to support early CBMEM.
Also remove references to globals high_tables_base and _size under
arch/ and from two ARMv7 boards.
Change-Id: I17eee30635a0368b2ada06e0698425c5ef0ecc53
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3902
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/arch/x86/boot/cbmem.c')
-rw-r--r-- | src/arch/x86/boot/cbmem.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/arch/x86/boot/cbmem.c b/src/arch/x86/boot/cbmem.c index 3f738be07b..6ec005d183 100644 --- a/src/arch/x86/boot/cbmem.c +++ b/src/arch/x86/boot/cbmem.c @@ -25,9 +25,6 @@ */ void set_top_of_ram(uint64_t ramtop) { - high_tables_base = ramtop - HIGH_MEMORY_SIZE; - high_tables_size = HIGH_MEMORY_SIZE; - printk(BIOS_DEBUG, "high_tables_base: %08llx, size %lld\n", - high_tables_base, high_tables_size); + cbmem_late_set_table(ramtop - HIGH_MEMORY_SIZE, HIGH_MEMORY_SIZE); } #endif |