[U-Boot] [PATCH 0/15] x86: Add cache and memory functions

Simon Glass sjg at chromium.org
Wed Oct 24 06:04:31 CEST 2012


This series adds some basic support for >4GB memory (including clearing it
for security reasons), basic dcache control and coreboot time stamps.


Duncan Laurie (2):
  x86: Ignore memory >4GB when parsing Coreboot tables
  x86: Fix off-by-one error in do_elf_reloc_fixups()

Gabe Black (4):
  x86: Fill in the dram info using the e820 map on coreboot/x86
  x86: Increase the size of the phys_size_t and phys_addr_t types
  Introduce arch_phys_memset which works like memset but on physical
    memory
  x86: Implement arch_phys_memset so that it can wipe memory above 4GB

Simon Glass (2):
  x86: Fix indirect jmp warning in zimage.c
  x86: Enable CONFIG_CMD_ZBOOT for coreboot

Stefan Reinauer (4):
  x86: Add basic cache operations
  x86: Provide a function to clean up just before booting a zimage
  x86: Add functions to access MSRs
  x86: Clean up MTRR 7 right before jumping to the kernel

Vadim Bendebury (3):
  x86: Add function to read time stamp counter
  x86: Enable coreboot timestamp facility support in u-boot.
  x86: Add a CBMEM timestamp generated right before the kernel startup.

 arch/x86/cpu/coreboot/Makefile                 |    1 +
 arch/x86/cpu/coreboot/coreboot.c               |   22 +++
 arch/x86/cpu/coreboot/sdram.c                  |   19 ++
 arch/x86/cpu/coreboot/timestamp.c              |   61 +++++++
 arch/x86/cpu/interrupts.c                      |    8 +-
 arch/x86/include/asm/arch-coreboot/timestamp.h |   52 ++++++
 arch/x86/include/asm/cache.h                   |   47 +++++
 arch/x86/include/asm/io.h                      |    6 +-
 arch/x86/include/asm/msr.h                     |   25 +++
 arch/x86/include/asm/types.h                   |    4 +-
 arch/x86/include/asm/u-boot-x86.h              |   12 ++
 arch/x86/lib/Makefile                          |    1 +
 arch/x86/lib/physmem.c                         |  228 ++++++++++++++++++++++++
 arch/x86/lib/relocate.c                        |    2 +-
 arch/x86/lib/timer.c                           |   17 ++
 arch/x86/lib/zimage.c                          |   24 ++-
 include/configs/coreboot.h                     |    2 +
 include/physmem.h                              |   21 +++
 lib/physmem.c                                  |   24 +++
 19 files changed, 560 insertions(+), 16 deletions(-)
 create mode 100644 arch/x86/cpu/coreboot/timestamp.c
 create mode 100644 arch/x86/include/asm/arch-coreboot/timestamp.h
 create mode 100644 arch/x86/include/asm/msr.h
 create mode 100644 arch/x86/lib/physmem.c
 create mode 100644 include/physmem.h
 create mode 100644 lib/physmem.c

-- 
1.7.7.3



More information about the U-Boot mailing list