[U-Boot] [PATCH 0/4] Add code to read in the coreboot tables and fill in memory info.

Gabe Black gabeblack at chromium.org
Wed Nov 30 07:07:51 CET 2011


These changes add code which reads in the coreboot tables exported by
coreboot and puts the info into a single structure for easy access. It also
adds some code which uses that info to fill in an e820 table.


Gabe Black (4):
  x86: Import code from coreboot's libpayload to parse the coreboot
    table
  x86: Determine the ram size using the coreboot tables
  x86: Force the lib_sysinfo structure to be in the .data section
  x86: Add infrastructure to extract an e820 table from the coreboot
    tables

 arch/x86/cpu/coreboot/Makefile                |    3 +
 arch/x86/cpu/coreboot/ipchecksum.c            |   54 ++++++
 arch/x86/cpu/coreboot/sdram.c                 |   38 ++++-
 arch/x86/cpu/coreboot/sysinfo.c               |   39 ++++
 arch/x86/cpu/coreboot/tables.c                |  183 +++++++++++++++++++
 arch/x86/include/asm/ic/coreboot/ipchecksum.h |   37 ++++
 arch/x86/include/asm/ic/coreboot/sysinfo.h    |   64 +++++++
 arch/x86/include/asm/ic/coreboot/tables.h     |  241 +++++++++++++++++++++++++
 arch/x86/include/asm/zimage.h                 |    5 +
 arch/x86/lib/zimage.c                         |   10 +
 board/chromebook-x86/coreboot/coreboot.c      |   10 +
 11 files changed, 683 insertions(+), 1 deletions(-)
 create mode 100644 arch/x86/cpu/coreboot/ipchecksum.c
 create mode 100644 arch/x86/cpu/coreboot/sysinfo.c
 create mode 100644 arch/x86/cpu/coreboot/tables.c
 create mode 100644 arch/x86/include/asm/ic/coreboot/ipchecksum.h
 create mode 100644 arch/x86/include/asm/ic/coreboot/sysinfo.h
 create mode 100644 arch/x86/include/asm/ic/coreboot/tables.h

-- 
1.7.3.1



More information about the U-Boot mailing list