Home
last modified time | relevance | path

Searched hist:"63 f559cd12e64825df78c1774b707ac1782110c0" (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/arch/x86/cpu/coreboot/
H A Dtables.c63f559cd12e64825df78c1774b707ac1782110c0 Mon Dec 05 06:09:22 CST 2011 Gabe Black <gabeblack@chromium.org> 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>
H A DMakefilediff 63f559cd12e64825df78c1774b707ac1782110c0 Mon Dec 05 06:09:22 CST 2011 Gabe Black <gabeblack@chromium.org> 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>
/openbmc/u-boot/arch/x86/include/asm/arch-coreboot/
H A Dsysinfo.h63f559cd12e64825df78c1774b707ac1782110c0 Mon Dec 05 06:09:22 CST 2011 Gabe Black <gabeblack@chromium.org> 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>