Please pull u-boot-x86

Bin Meng
2023-05-11T08:16:19Z

Hi Tom,

This PR includes the following x86 changes for v2023.07 release:

- Various fixes for Google chromebooks
- Various minor enhancements for coreboot

Azure CI : PASS
https://dev.azure.com/bmeng/GitHub/_build/results?buildId=485&view=results

The following changes since commit 0a9a4384c1483a88776bca38e28f09be51161034:

Merge tag 'u-boot-rockchip-20230509' of
https://source.denx.de/u-boot/custodians/u-boot-rockchip (2023-05-09
12:45:49 -0400)

are available in the Git repository at:

https://source.denx.de/u-boot/custodians/u-boot-x86

for you to fetch changes up to b982f89c583c6c03f4d1f94d29991ccf691a0f7c:

x86: samus: Adjust TPL start and pre-reloc memory size (2023-05-11
10:25:30 +0800)

----------------------------------------------------------------
Simon Glass (33):
mtrr: Don't show an invalid CPU number
x86: Adjust search range for sysinfo table
input: Flush the keyboard buffer before resetting it
acpi: Create a new Kconfig for ACPI
acpi: Move the table-finding functions into the libary
x86: coreboot: Collect the address of the ACPI tables
x86: Allow locating the UART from ACPI tables
pci: coreboot: Don't read regions when booting
x86: coreboot: Use a memory-mapped UART
x86: coreboot: Document how to enable the debug UART
x86: coreboot: Scan PCI after relocation
x86: coreboot: Log function names and line numbers
x86: coreboot: Show unimplemented sysinfo tags
nvme: Enable PCI bus mastering
x86: nvme: coreboot: Enable NVMe
coreboot: Enable ms command
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: sysreset: Set up LPC only after relocation
x86: Tidy up address for loading U-Boot from SPL
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/Kconfig | 2 ++
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/cpu.c | 4 ++--
arch/x86/cpu/i386/cpu.c | 32
+++++---------------------------
arch/x86/cpu/ivybridge/bd82x6x.c | 17 +++++++++--------
arch/x86/cpu/ivybridge/cpu.c | 2 +-
arch/x86/cpu/quark/quark.c | 2 +-
arch/x86/cpu/x86_64/cpu.c | 7 +++++++
arch/x86/include/asm/cb_sysinfo.h | 8 ++++++++
arch/x86/include/asm/coreboot_tables.h | 2 ++
arch/x86/include/asm/string.h | 6 +++++-
arch/x86/lib/Makefile | 4 +++-
arch/x86/lib/coreboot/cb_sysinfo.c | 13 +++++++++++++
arch/x86/lib/fsp2/fsp_init.c | 2 +-
arch/x86/lib/mrccache.c | 2 +-
arch/x86/lib/spl.c | 19 +++++++------------
cmd/Kconfig | 2 +-
cmd/acpi.c | 44
+++++---------------------------------------
cmd/x86/cbsysinfo.c | 9 +++++++++
cmd/x86/mtrr.c | 3 ++-
configs/chromebook_samus_defconfig | 1 +
configs/chromebook_samus_tpl_defconfig | 4 ++--
configs/coreboot64_defconfig | 1 -
configs/coreboot_defconfig | 8 +++++++-
doc/board/coreboot/coreboot.rst | 29
+++++++++++++++++++++++++++++
doc/develop/event.rst | 6 +++---
drivers/core/Kconfig | 1 +
drivers/core/root.c | 4 ++--
drivers/cpu/microblaze_cpu.c | 2 +-
drivers/input/i8042.c | 19 +++++++++++++++++++
drivers/mtd/spi/sf_probe.c | 3 ++-
drivers/mtd/spi/spi-nor-tiny.c | 16 ++++++++--------
drivers/nvme/nvme_pci.c | 5 +++++
drivers/pci/pci-uclass.c | 4 ++++
drivers/serial/Kconfig | 10 ++++++++++
drivers/serial/serial_coreboot.c | 114
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------
drivers/sysreset/sysreset_x86.c | 9 +++++++--
include/acpi/acpi_table.h | 8 ++++++++
include/asm-generic/global_data.h | 4 ++--
include/event.h | 2 +-
lib/Kconfig | 10 +++++++++-
lib/Makefile | 2 +-
lib/acpi/Makefile | 6 ++++++
lib/acpi/acpi.c | 45
+++++++++++++++++++++++++++++++++++++++++++++
tools/binman/etype/u_boot_spl_with_ucode_ptr.py | 2 +-
tools/binman/etype/u_boot_tpl_with_ucode_ptr.py | 2 +-
tools/binman/etype/u_boot_with_ucode_ptr.py | 4 ++--
58 files changed, 380 insertions(+), 147 deletions(-)
create mode 100644 lib/acpi/acpi.c

Regards,
Bin