u-boot/board/chromebook-x86/coreboot
Gabe Black 63f559cd12 x86: Import code from coreboot's libpayload to parse the coreboot table
This change also forces the lib_sysinfo structure to be in the .data
section. Otherwise it ends up in the .bss section. U-boot assumes that it
doesn't need to copy it over during relocation, and instead fills that
whole section with zeroes. If we really were booting from ROM that would be
appropriate, but we need some information from the coreboot tables (memory
size) before then and have to fill that structure before relocation. We
skirt u-boot's assumption by putting this in .data where it assumes there
is still read only but non-zero data.

Signed-off-by: Gabe Black <gabeblack@chromium.org>
2011-12-19 13:26:15 +11:00
..
coreboot_pci.c x86: Initial commit for running as a coreboot payload 2011-12-19 13:26:15 +11:00
coreboot_start16.S x86: Initial commit for running as a coreboot payload 2011-12-19 13:26:15 +11:00
coreboot_start.S x86: Initial commit for running as a coreboot payload 2011-12-19 13:26:15 +11:00
coreboot.c x86: Import code from coreboot's libpayload to parse the coreboot table 2011-12-19 13:26:15 +11:00
Makefile x86: Initial commit for running as a coreboot payload 2011-12-19 13:26:15 +11:00