Please pull u-boot-x86
Bin Meng
bmeng.cn at gmail.com
Fri Nov 6 05:55:03 CET 2020
Hi Tom,
This PR includes the following changes for v2021.01 release:
- Add a new SMBIOS parser and enable it when booting from coreboot
- Fix up various driver names to avoid dtoc warnings
- Fully enable ACPI support on Google Chromebook Coral
- Add a way to set SMBIOS properties using the devicetree
- Update existing boards to use devicetree for SMBIOS using a new
default sysinfo driver
Azure results: PASS
https://dev.azure.com/bmeng/GitHub/_build/results?buildId=299&view=results
The following changes since commit 35b7ca768f7d826b77d5d3d6ccd6b1b8ed21f186:
arch: Move NEEDS_MANUAL_RELOC symbol to Kconfig (2020-11-04 10:13:44 -0500)
are available in the git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-x86
for you to fetch changes up to e4f8e543f1a905857a753a1d411997a81f4f52aa:
smbios: Drop the unused Kconfig options (2020-11-06 10:26:32 +0800)
----------------------------------------------------------------
Christian Gmeiner (2):
smbios: add parsing API
coreboot: make use of smbios parser
Simon Glass (48):
cros_ec: Fix up driver names to avoid dtoc warnings
x86: Fix up driver names to avoid dtoc warnings
Add an assembly guard around linux/bitops.h
x86: apl: Add core init for the SoC
x86: Add a layout for Chrome OS verified boot
x86: Add support for private files
x86: Allow writing tables to fail
x86: acpi: Store the ACPI context in global_data
x86: Don't bother clearing global NVS
x86: coral: Drop the duplicate PCIe settings
x86: Add SMBIOS info for Coral
x86: Use if instead of #ifdef in write_tables()
x86: Allow putting some tables in the bloblist
x86: nhlt: Correct output of bytes and 16-bit data
x86: nhlt: Fix a few bugs in the table generation
x86: Show the interrupt pointer with 'irqinfo'
x86: sound: Correct error handling
acpi: Correct reset handling in acpi_device_add_power_res()
x86: acpi: Allow the SSDT to be empty
x86: acpi: Put the generated code first in DSDT
acpi: Don't reset the tables with every new generation
x86: Define the Chrome OS GNVS region
x86: Use CONFIG_CHROMEOS_VBOOT for verified boot
x86: Set up Chrome OS to boot into developer mode
x86: Boot coral into Chrome OS by default
x86: fsp: Convert fsp_dram to use log_debug()
x86: Silence some logging statements
x86: acpi: Include the TPMv1 table only if needed
x86: acpi: Don't show the UART address by default
x86: pinctrl: Silence the warning when a pin is not found
x86: fsp: Adjust calculations for MTRR range and DRAM top
x86: zimage: Add a little more logging
x86: zimage: Sanity-check the kernel version before printing it
x86: zimage: Quieten down the zimage boot process
board: Rename uclass to sysinfo
doc: Add a binding for sysinfo
x86: Pass an ofnode into each SMBIOS function
smbios: Allow properties to come from the device tree
smbios: Add more properties
smbios: Add documentation and devicetree binding
sysinfo: Provide a default driver to set SMBIOS values
rockchip: Use devicetree for SMBIOS settings
imx: Use devicetree for SMBIOS settings on MYiR MYS-6ULX
odroid-c2: Use devicetree for SMBIOS settings
arm64: mvebu: Use devicetree for SMBIOS settings on uDPU
x86: galileo: Use devicetree for SMBIOS settings
x86: Provide default SMBIOS manufacturer/product
smbios: Drop the unused Kconfig options
arch/Kconfig
| 2 ++
arch/arm/dts/armada-3720-uDPU-u-boot.dtsi
| 20 +++++++++++
arch/arm/dts/imx6ull-myir-mys-6ulx-eval-u-boot.dts
| 25 ++++++++++++++
arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi
| 23 +++++++++++++
arch/arm/dts/rk3328-roc-cc-u-boot.dtsi
| 21 ++++++++++++
arch/arm/dts/rk3328-rock-pi-e-u-boot.dtsi
| 23 +++++++++++++
arch/arm/dts/rk3328-rock64-u-boot.dtsi
| 21 ++++++++++++
arch/arm/dts/rk3368-lion-u-boot.dtsi
| 20 +++++++++++
arch/powerpc/dts/gdsys/gazerbeam-uboot.dtsi
| 2 +-
arch/sandbox/dts/test.dts
| 8 ++---
arch/x86/cpu/apollolake/acpi.c
| 25 +++++++++++---
arch/x86/cpu/apollolake/cpu.c
| 88
+++++++++++++++++++++++++++++++++++++++++++++--
arch/x86/cpu/apollolake/cpu_common.c
| 25 ++++++++++++++
arch/x86/cpu/apollolake/cpu_spl.c
| 20 -----------
arch/x86/cpu/apollolake/fsp_s.c
| 8 ++---
arch/x86/cpu/apollolake/hostbridge.c
| 2 +-
arch/x86/cpu/apollolake/lpc.c
| 2 +-
arch/x86/cpu/apollolake/pch.c
| 4 +--
arch/x86/cpu/apollolake/pmc.c
| 2 +-
arch/x86/cpu/apollolake/punit.c
| 4 +--
arch/x86/cpu/apollolake/uart.c
| 2 +-
arch/x86/cpu/cpu.c
| 9 ++++-
arch/x86/cpu/i386/interrupt.c
| 14 ++++----
arch/x86/cpu/intel_common/acpi.c
| 1 -
arch/x86/cpu/intel_common/cpu.c
| 19 +++++++++++
arch/x86/cpu/intel_common/intel_opregion.c
| 2 +-
arch/x86/cpu/intel_common/itss.c
| 10 +++---
arch/x86/cpu/intel_common/p2sb.c
| 2 +-
arch/x86/dts/bayleybay.dts
| 2 ++
arch/x86/dts/baytrail_som-db5800-som-6867.dts
| 2 ++
arch/x86/dts/cherryhill.dts
| 2 ++
arch/x86/dts/chromebook_coral.dts
| 12 +++++--
arch/x86/dts/chromebook_link.dts
| 2 ++
arch/x86/dts/chromebook_samus.dts
| 4 ++-
arch/x86/dts/chromebox_panther.dts
| 2 ++
arch/x86/dts/conga-qeval20-qa3-e3845.dts
| 2 ++
arch/x86/dts/cougarcanyon2.dts
| 2 ++
arch/x86/dts/crownbay.dts
| 2 ++
arch/x86/dts/dfi-bt700.dtsi
| 2 ++
arch/x86/dts/edison.dts
| 2 ++
arch/x86/dts/galileo.dts
| 28 +++++++++++++++
arch/x86/dts/minnowmax.dts
| 2 ++
arch/x86/dts/qemu-x86_i440fx.dts
| 2 ++
arch/x86/dts/qemu-x86_q35.dts
| 2 ++
arch/x86/dts/smbios.dtsi
| 32 ++++++++++++++++++
arch/x86/dts/u-boot.dtsi
| 4 +++
arch/x86/include/asm/acpi/vbnv_layout.h
| 38 +++++++++++++++++++++
arch/x86/include/asm/arch-apollolake/cpu.h
| 14 ++++++++
arch/x86/include/asm/cpu_common.h
| 9 +++++
arch/x86/include/asm/intel_gnvs.h
| 54 ++++++++++++++++++++++++++---
arch/x86/include/asm/interrupt.h
| 17 ++++++++++
arch/x86/include/asm/msr-index.h
| 20 ++++++++++-
arch/x86/include/asm/tables.h
| 4 ++-
arch/x86/lib/acpi_nhlt.c
| 19 ++++++++---
arch/x86/lib/acpi_table.c
| 78
++++++++++++++++++++++++++++--------------
arch/x86/lib/fsp/fsp_dram.c
| 35 ++++++++++++-------
arch/x86/lib/fsp/fsp_graphics.c
| 2 +-
arch/x86/lib/fsp2/fsp_dram.c
| 8 +++--
arch/x86/lib/interrupts.c
| 3 ++
arch/x86/lib/tables.c
| 88
+++++++++++++++++++++++++++++++++++------------
arch/x86/lib/tpl.c
| 2 +-
arch/x86/lib/zimage.c
| 26 +++++++++++---
board/coreboot/coreboot/coreboot.c
| 45 +++++++++++++++++++++++++
board/gdsys/common/cmd_ioloop.c
| 12 ++++---
board/gdsys/mpc8308/gazerbeam.c
| 47 ++++++++++++++------------
board/google/chromebook_coral/coral.c
| 2 +-
board/intel/galileo/Kconfig
| 11 ------
common/Kconfig.boot
| 17 ++++++++++
common/log.c
| 1 +
common/spl/spl_fit.c
| 15 +++++----
configs/chromebook_coral_defconfig
| 13 ++++---
configs/clearfog_gt_8k_defconfig
| 2 --
configs/coreboot_defconfig
| 1 +
configs/gazerbeam_defconfig
| 4 +--
configs/lion-rk3368_defconfig
| 4 +--
configs/mt7622_rfb_defconfig
| 1 -
configs/mvebu_db_armada8k_defconfig
| 2 --
configs/myir_mys_6ulx_defconfig
| 3 +-
configs/odroid-c2_defconfig
| 4 +--
configs/r8a774a1_beacon_defconfig
| 2 --
configs/r8a77970_eagle_defconfig
| 2 --
configs/r8a77980_condor_defconfig
| 2 --
configs/r8a77990_ebisu_defconfig
| 2 --
configs/r8a77995_draak_defconfig
| 2 --
configs/rcar3_salvator-x_defconfig
| 2 --
configs/rcar3_ulcb_defconfig
| 2 --
configs/roc-cc-rk3328_defconfig
| 4 +--
configs/rock-pi-e-rk3328_defconfig
| 4 +--
configs/rock64-rk3328_defconfig
| 4 +--
configs/sandbox64_defconfig
| 4 +--
configs/sandbox_defconfig
| 4 +--
configs/sandbox_flattree_defconfig
| 4 +--
configs/sandbox_spl_defconfig
| 4 +--
configs/uDPU_defconfig
| 3 +-
doc/arch/x86.rst
| 8 +++++
doc/device-tree-bindings/{board/gdsys,board_gazerbeam.txt =>
sysinfo/gdsys,sysinfo_gazerbeam.txt} | 8 ++---
doc/device-tree-bindings/sysinfo/smbios.txt
| 77
++++++++++++++++++++++++++++++++++++++++++
doc/device-tree-bindings/sysinfo/sysinfo.txt
| 19 +++++++++++
drivers/Kconfig
| 4 +--
drivers/Makefile
| 2 +-
drivers/board/Kconfig
| 25 --------------
drivers/board/Makefile
| 7 ----
drivers/board/board-uclass.c
| 71
--------------------------------------
drivers/core/acpi.c
| 10 +++---
drivers/gpio/intel_gpio.c
| 4 +--
drivers/misc/cros_ec_i2c.c
| 4 +--
drivers/misc/cros_ec_lpc.c
| 4 +--
drivers/misc/cros_ec_spi.c
| 4 +--
drivers/pinctrl/intel/pinctrl.c
| 2 +-
drivers/pinctrl/intel/pinctrl_apl.c
| 2 +-
drivers/rtc/mc146818.c
| 4 +--
drivers/sound/da7219.c
| 4 +--
drivers/sound/max98357a.c
| 2 +-
drivers/sysinfo/Kconfig
| 33 ++++++++++++++++++
drivers/sysinfo/Makefile
| 8 +++++
drivers/{board => sysinfo}/gazerbeam.c
| 74
++++++++++++++++++++--------------------
drivers/{board => sysinfo}/gazerbeam.h
| 0
drivers/{board => sysinfo}/sandbox.c
| 50 +++++++++++++--------------
drivers/{board => sysinfo}/sandbox.h
| 0
drivers/sysinfo/smbios.c
| 24 +++++++++++++
drivers/sysinfo/sysinfo-uclass.c
| 71
++++++++++++++++++++++++++++++++++++++
drivers/sysreset/sysreset_x86.c
| 4 +--
drivers/timer/mpc83xx_timer.c
| 10 +++---
drivers/timer/tsc_timer.c
| 4 +--
include/acpi/acpi_table.h
| 10 ++++++
include/asm-generic/global_data.h
| 13 +++++++
include/bloblist.h
| 2 ++
include/configs/chromebook_coral.h
| 9 ++++-
include/dm/acpi.h
| 9 +++++
include/dm/uclass-id.h
| 2 +-
include/linux/bitops.h
| 4 +--
include/log.h
| 1 +
include/smbios.h
| 32 +++++++++++++++++-
include/{board.h => sysinfo.h}
| 80
+++++++++++++++++++++----------------------
lib/Kconfig
| 31 ++++++++---------
lib/Makefile
| 1 +
lib/acpi/acpi_device.c
| 2 +-
lib/acpi/acpi_table.c
| 4 +--
lib/smbios-parser.c
| 96
++++++++++++++++++++++++++++++++++++++++++++++++++++
lib/smbios.c
| 120
+++++++++++++++++++++++++++++++++++++++++++++++------------------
test/dm/Makefile
| 2 +-
test/dm/acpi.c
| 4 +++
test/dm/board.c
| 59 --------------------------------
test/dm/sysinfo.c
| 59 ++++++++++++++++++++++++++++++++
144 files changed, 1645 insertions(+), 590 deletions(-)
create mode 100644 arch/arm/dts/imx6ull-myir-mys-6ulx-eval-u-boot.dts
create mode 100644 arch/x86/dts/smbios.dtsi
create mode 100644 arch/x86/include/asm/acpi/vbnv_layout.h
rename doc/device-tree-bindings/{board/gdsys,board_gazerbeam.txt =>
sysinfo/gdsys,sysinfo_gazerbeam.txt} (90%)
create mode 100644 doc/device-tree-bindings/sysinfo/smbios.txt
create mode 100644 doc/device-tree-bindings/sysinfo/sysinfo.txt
delete mode 100644 drivers/board/Kconfig
delete mode 100644 drivers/board/Makefile
delete mode 100644 drivers/board/board-uclass.c
create mode 100644 drivers/sysinfo/Kconfig
create mode 100644 drivers/sysinfo/Makefile
rename drivers/{board => sysinfo}/gazerbeam.c (69%)
rename drivers/{board => sysinfo}/gazerbeam.h (100%)
rename drivers/{board => sysinfo}/sandbox.c (50%)
rename drivers/{board => sysinfo}/sandbox.h (100%)
create mode 100644 drivers/sysinfo/smbios.c
create mode 100644 drivers/sysinfo/sysinfo-uclass.c
rename include/{board.h => sysinfo.h} (65%)
create mode 100644 lib/smbios-parser.c
delete mode 100644 test/dm/board.c
create mode 100644 test/dm/sysinfo.c
Regards,
Bin
More information about the U-Boot
mailing list