[PATCH v3 00/17] x86: Various fixes for chromebooks

Simon Glass sjg at chromium.org
Fri May 5 00:50:44 CEST 2023


This adds some fixes for x86-based Chromebook builds which have picked up
a few problems recently.

With this, chromebook_link/64, chromebook_samus and chromebook_coral work
correctly.

Changes in v3:
- Fix 'intend' typo
- Fix 'returns' typo
- Fix 'somtimes' typo
- Fix 'propblem' typo
- Squash in patch 'Set up LPC only after relocation'
- Fix 'build' typo
- Fix 'boot' typo
- Drop change to memset()
- Fix invalid commit IDs obtained from another branch
- Fix 'require' typo
- Add more detail about why it might be hanging
- Fix 'call' typo

Changes in v2:
- Add new patch to set up LPC only after relocation
- Add new patch to tidy up address for loading U-Boot from SPL
- Drop patch "x86: Add on to existing MTRRs in SPL"
- Add various patches to resolve problems with chromebook_link64

Simon Glass (17):
  dm: Emit the arch_cpu_init_dm() even only before relocation
  binman: Support writing symbols for ucode etypes
  sf: Guard against zero erasesize
  sf: Rename spi-nor-tiny functions
  x86: ivybridge: Ensure LPC is available for GPIO base
  x86: samus: Drop EFI_LOADER
  x86: Support debug UART in 64-bit mode
  x86: Tidy up availability of string functions
  x86: mrc: Correct SPL debug message
  x86: spl: Show debugging for BSS
  x86: Tidy up address for loading U-Boot from SPL
  x86: Return mtrr_add_request() to its old purpose
  x86: spl: Avoid using init_cache_f_r() from SPL
  spl: Commit MTRRs only in board_init_f_r()
  x86: Simplify cpu_jump_to_64bit_uboot()
  x86: samus: Don't include audio and SATA in TPL
  x86: samus: Adjust TPL start and pre-reloc memory size

 arch/arm/mach-imx/imx8/cpu.c                  |  2 +-
 arch/arm/mach-imx/imx8m/soc.c                 |  2 +-
 arch/arm/mach-imx/imx8ulp/soc.c               |  2 +-
 arch/arm/mach-imx/imx9/soc.c                  |  2 +-
 arch/arm/mach-omap2/am33xx/board.c            |  2 +-
 arch/arm/mach-omap2/hwinit-common.c           |  2 +-
 arch/mips/mach-pic32/cpu.c                    |  2 +-
 arch/nios2/cpu/cpu.c                          |  2 +-
 arch/riscv/cpu/cpu.c                          |  2 +-
 arch/x86/cpu/baytrail/cpu.c                   |  2 +-
 arch/x86/cpu/broadwell/Makefile               |  4 +--
 arch/x86/cpu/broadwell/cpu.c                  |  2 +-
 arch/x86/cpu/i386/cpu.c                       | 32 +++----------------
 arch/x86/cpu/ivybridge/bd82x6x.c              | 17 +++++-----
 arch/x86/cpu/ivybridge/cpu.c                  |  2 +-
 arch/x86/cpu/mtrr.c                           |  6 +++-
 arch/x86/cpu/quark/quark.c                    |  2 +-
 arch/x86/cpu/x86_64/cpu.c                     |  7 ++++
 arch/x86/include/asm/string.h                 |  6 +++-
 arch/x86/lib/Makefile                         |  4 ++-
 arch/x86/lib/fsp2/fsp_init.c                  |  2 +-
 arch/x86/lib/mrccache.c                       |  2 +-
 arch/x86/lib/spl.c                            | 19 ++++-------
 configs/chromebook_samus_defconfig            |  1 +
 configs/chromebook_samus_tpl_defconfig        |  4 +--
 doc/develop/event.rst                         |  6 ++--
 drivers/core/root.c                           |  4 +--
 drivers/cpu/microblaze_cpu.c                  |  2 +-
 drivers/mtd/spi/sf_probe.c                    |  3 +-
 drivers/mtd/spi/spi-nor-tiny.c                | 16 +++++-----
 drivers/sysreset/sysreset_x86.c               |  9 ++++--
 include/event.h                               |  2 +-
 .../binman/etype/u_boot_spl_with_ucode_ptr.py |  2 +-
 .../binman/etype/u_boot_tpl_with_ucode_ptr.py |  2 +-
 tools/binman/etype/u_boot_with_ucode_ptr.py   |  4 +--
 35 files changed, 89 insertions(+), 91 deletions(-)

-- 
2.40.1.521.gf1e218fcd8-goog



More information about the U-Boot mailing list