From patchwork Thu Apr 30 13:53:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 239009 List-Id: U-Boot discussion From: bmeng.cn at gmail.com (Bin Meng) Date: Thu, 30 Apr 2020 21:53:46 +0800 Subject: Please pull u-boot-x86 Message-ID: Hi Tom, This PR includes the following x86 changes for v2020.07 release: - DM ACPI support (Part A) - Improve support for chain-loading x86 U-Boot The following changes since commit 6864fc8704661878294d1f0f981f47e864ef470f: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-sh (2020-04-29 10:39:18 -0400) are available in the git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-x86 for you to fetch changes up to 249154672d43db6c7978fd9b67d224e9dec09867: x86: Add documentation for the chain-load feature (2020-04-30 17:48:17 +0800) ---------------------------------------------------------------- Simon Glass (19): x86: cbfs: Drop unwanted declaration acpi: Add a binding for ACPI settings in the device tree acpi: Add a method to write tables for a device acpi: Convert part of acpi_table to use acpi_ctx x86: Allow devices to write ACPI tables acpi: Drop code for missing XSDT from acpi_write_rsdp() acpi: Move acpi_add_table() to generic code acpi: Put table-setup code in its own function acpi: Move the xsdt pointer to acpi_ctx acpi: Add an acpi command x86: fsp: Allow skipping init code when chain loading x86: apl: Skip init code when chain loading x86: cpu: Skip init code when chain loading pci: Avoid auto-config when chain loading board: Add a gd flag for chain loading x86: Move coreboot-table detection into common code x86: Add a way to detect running from coreboot x86: Use the existing stack when chain-loading x86: Add documentation for the chain-load feature arch/sandbox/dts/test.dts | 4 +++ arch/sandbox/include/asm/global_data.h | 1 + arch/x86/cpu/apollolake/fsp_s.c | 2 ++ arch/x86/cpu/coreboot/tables.c | 24 +++++-------- arch/x86/cpu/cpu.c | 4 ++- arch/x86/cpu/i386/cpu.c | 27 ++++++++++++++ arch/x86/cpu/i386/interrupt.c | 6 ++-- arch/x86/cpu/start_from_spl.S | 16 +++++++-- arch/x86/include/asm/coreboot_tables.h | 7 ++++ arch/x86/include/asm/global_data.h | 1 + arch/x86/lib/acpi_table.c | 242 ++++++++++++++++++++++---------------------------------------------------------------------------------------------------- arch/x86/lib/fsp/fsp_dram.c | 8 +++++ arch/x86/lib/fsp/fsp_graphics.c | 3 ++ arch/x86/lib/fsp2/fsp_dram.c | 10 ++++++ arch/x86/lib/fsp2/fsp_init.c | 2 +- arch/x86/lib/init_helpers.c | 3 ++ cmd/Kconfig | 14 ++++++++ cmd/Makefile | 1 + cmd/acpi.c | 186 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ doc/arch/x86.rst | 28 +++++++++++++++ doc/device-tree-bindings/device.txt | 36 +++++++++++++++++++ drivers/core/acpi.c | 62 ++++++++++++++++++++++++++++++++ drivers/pci/pci-uclass.c | 4 +-- include/acpi/acpi_table.h | 65 +++++++++++++++++++++++++++++++++ include/asm-generic/global_data.h | 1 + include/cbfs.h | 2 +- include/dm/acpi.h | 37 +++++++++++++++++++ include/init.h | 2 +- lib/acpi/acpi_table.c | 179 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- test/dm/acpi.c | 238 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 30 files changed, 983 insertions(+), 232 deletions(-) create mode 100644 cmd/acpi.c create mode 100644 doc/device-tree-bindings/device.txt Regards, Bin