Skip to content

Commit

Permalink
configs: Enable sysinfo for QEMU Arm64
Browse files Browse the repository at this point in the history
Enable sysinfo smbios by default for Arm64.
Do not enable QFW if SYSINFO_SMBIOS is defined.

Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
  • Loading branch information
raymo200915 committed Jul 16, 2024
1 parent 6b52c73 commit f96a1e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2325,8 +2325,8 @@ config CMD_SYSBOOT
config CMD_QFW
bool "qfw"
select QFW
default y if TARGET_QEMU_ARM_32BIT || TARGET_QEMU_ARM_64BIT || \
TARGET_QEMU_X86 || TARGET_QEMU_X86_64
default y if (TARGET_QEMU_ARM_32BIT || TARGET_QEMU_ARM_64BIT || \
TARGET_QEMU_X86 || TARGET_QEMU_X86_64) && !SYSINFO_SMBIOS
help
This provides access to the QEMU firmware interface. The main
feature is to allow easy loading of files passed to qemu-system
Expand Down
2 changes: 2 additions & 0 deletions configs/qemu_arm64_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ CONFIG_PCIE_ECAM_GENERIC=y
CONFIG_SCSI=y
CONFIG_DEBUG_UART_PL011=y
CONFIG_DEBUG_UART_SHIFT=2
CONFIG_SYSINFO=y
CONFIG_SYSINFO_SMBIOS=y
CONFIG_SYSRESET=y
CONFIG_SYSRESET_CMD_POWEROFF=y
CONFIG_SYSRESET_PSCI=y
Expand Down
2 changes: 1 addition & 1 deletion lib/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ config SPL_ACPI
config GENERATE_ACPI_TABLE
bool "Generate an ACPI (Advanced Configuration and Power Interface) table"
depends on ACPI
select QFW if QEMU
select QFW if QEMU && !SYSINFO_SMBIOS
help
The Advanced Configuration and Power Interface (ACPI) specification
provides an open standard for device configuration and management
Expand Down

0 comments on commit f96a1e6

Please sign in to comment.