mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-16 04:07:00 +02:00
The EFI-loader code has not been fully converted to use bloblist, so relies on the SMBIOS-table address being set in global_data. Set this up in write_tables() so that the SMBIOS tables are actually available. Enable the command for x86 QEMU so that the SMBIOS tests actually run. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 83ce35d6ebb ("emulation: Use bloblist to hold tables") Reported-by: Niklas Sombert <niklas.sombert@uni-duesseldorf.de> Tested-by: Niklas Sombert <niklas.sombert@uni-duesseldorf.de> Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
29 lines
536 B
Plaintext
29 lines
536 B
Plaintext
if TARGET_QEMU_X86 || TARGET_QEMU_X86_64
|
|
|
|
config SYS_BOARD
|
|
default "qemu-x86"
|
|
|
|
config SYS_VENDOR
|
|
default "emulation"
|
|
|
|
config SYS_SOC
|
|
default "qemu"
|
|
|
|
config TEXT_BASE
|
|
default 0xfff00000 if !SUPPORT_SPL
|
|
default 0x01110000 if SUPPORT_SPL
|
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
def_bool y
|
|
select X86_RESET_VECTOR
|
|
select QEMU
|
|
select QFW_PIO if CMD_QFW
|
|
select BOARD_ROMSIZE_KB_1024 if TARGET_QEMU_X86
|
|
select BOARD_ROMSIZE_KB_2048 if TARGET_QEMU_X86_64
|
|
imply VIRTIO_PCI
|
|
imply VIRTIO_NET
|
|
imply VIRTIO_BLK
|
|
imply CMD_SMBIOS
|
|
|
|
endif
|