[PATCH v2 00/18] x86: Various fixes for chromebooks

Simon Glass sjg at chromium.org
Tue Apr 18 17:30:43 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 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 (18):
  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: Set up LPC only after relocation
  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                            | 21 +++++-------
 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, 90 insertions(+), 92 deletions(-)

-- 
2.40.0.634.g4ca3ef3211-goog



More information about the U-Boot mailing list