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>
This commit is contained in:
@ -137,6 +137,7 @@ void cbmem_add_lb_mem(struct lb_memory *mem);
|
||||
#ifndef __PRE_RAM__
|
||||
extern uint64_t high_tables_base, high_tables_size;
|
||||
void set_top_of_ram(uint64_t ramtop);
|
||||
void cbmem_late_set_table(uint64_t base, uint64_t size);
|
||||
void set_cbmem_toc(struct cbmem_entry *);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user