[U-Boot] [PATCH v2 0/11] Add support for caching Memory Reference Code data
Simon Glass
sjg at chromium.org
Fri Jan 9 04:30:44 CET 2015
Since the memory reference code is so slow on x86, add a feature to bypass
this, storing the previous parameters in SPI flash. This saves around 500ms
on each boot.
Also enable a SPI flash environment.
Changes in v2:
- Use intel,ich-spi as the compatible string
- Refactor IP checksum patches
- Refactor IP checksum patches
- Adjust the mc146818 driver instead of adding a new cmos.h header
- Make changes to chromebook_link.dts since link.dts is gone
- Use intel,ich-spi as the compatible string
- Update for the new CMOS RAM access functions in the RTC
- Add a comment about why both CMOS RAM and SPI flash are used for the cache
Simon Glass (11):
x86: dts: Add compatible string for Intel ICH9 SPI controller
x86: Move ipchecksum into common area and rename it
x86: Allow adding of IP checksums
x86: rtc: mc146818: Add helpers to read/write CMOS RAM
x86: spi: Add device tree support
Allow architecture-specific memory reservation
x86: dts: Add SPI flash MRC details for chromebook_link
x86: Implement a cache for Memory Reference Code parameters
x86: config: Enable hook for saving MRC configuration
x86: ivybridge: Drop the Kconfig MRC cache information
x86: config: chromebook_link: Enable environment
arch/x86/cpu/Makefile | 1 +
arch/x86/cpu/coreboot/Makefile | 1 -
arch/x86/cpu/coreboot/ipchecksum.c | 55 ------
arch/x86/cpu/coreboot/tables.c | 8 +-
arch/x86/cpu/ip_checksum.c | 55 ++++++
arch/x86/cpu/ivybridge/Kconfig | 28 ---
arch/x86/cpu/ivybridge/Makefile | 1 +
arch/x86/cpu/ivybridge/mrccache.c | 156 +++++++++++++++
arch/x86/cpu/ivybridge/sdram.c | 253 ++++++++++++++++++++++++
arch/x86/dts/chromebook_link.dts | 15 +-
arch/x86/dts/link.dts | 229 +++++++++++++++++++++
arch/x86/include/asm/arch-coreboot/ipchecksum.h | 37 ----
arch/x86/include/asm/arch-ivybridge/mrccache.h | 51 +++++
arch/x86/include/asm/global_data.h | 3 +
arch/x86/include/asm/ip_checksum.h | 16 ++
common/board_f.c | 7 +
drivers/rtc/mc146818.c | 53 +++--
drivers/spi/ich.c | 7 +
include/configs/chromebook_link.h | 8 +
include/configs/x86-common.h | 1 +
include/fdtdec.h | 1 +
include/rtc.h | 32 +++
lib/fdtdec.c | 1 +
23 files changed, 879 insertions(+), 140 deletions(-)
delete mode 100644 arch/x86/cpu/coreboot/ipchecksum.c
create mode 100644 arch/x86/cpu/ip_checksum.c
create mode 100644 arch/x86/cpu/ivybridge/mrccache.c
create mode 100644 arch/x86/dts/link.dts
delete mode 100644 arch/x86/include/asm/arch-coreboot/ipchecksum.h
create mode 100644 arch/x86/include/asm/arch-ivybridge/mrccache.h
create mode 100644 arch/x86/include/asm/ip_checksum.h
--
2.2.0.rc0.207.ga3a616c
More information about the U-Boot
mailing list