1. 19 Dec, 2011 2 commits
    • Gabe Black's avatar
      x86: Import code from coreboot's libpayload to parse the coreboot table · 63f559cd
      Gabe Black authored
      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: default avatarGabe Black <gabeblack@chromium.org>
    • Gabe Black's avatar
      x86: Initial commit for running as a coreboot payload · ef5a5b00
      Gabe Black authored
      Add a target for running u-boot as a coreboot payload in boards.cfg, a
      board, CPU and a config. This is a skeleton implementation which always
      reports the size of memory as 64 MB.
      Signed-off-by: default avatarGabe Black <gabeblack@chromium.org>