x86: Prepare configuration tables in dedicated high memory region
authorBin Meng <bmeng.cn@gmail.com>
Wed, 11 May 2016 14:44:59 +0000 (07:44 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 23 May 2016 07:18:00 +0000 (15:18 +0800)
commit789b6dceccbb852b0be235334b713467f88e2f8e
tree2a8f7906144a677809b2613b5093c98d68e59f49
parent548344912f791ff7f7f932afdaf669f45a20448b
x86: Prepare configuration tables in dedicated high memory region

Currently when CONFIG_SEABIOS is on, U-Boot allocates configuration
tables via normal malloc(). To simplify, use a dedicated memory
region which is reserved on the stack before relocation for this
purpose. Add functions for reserve and malloc.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/Kconfig
arch/x86/include/asm/coreboot_tables.h
arch/x86/include/asm/global_data.h
arch/x86/lib/coreboot_table.c