mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 17:38:51 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Disable a few things which interfere with the EFI init. This allows QEMU to to boot into EFI, load a U-Boot payload then boot to the U-Boot prompt. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
26 lines
399 B
Plaintext
26 lines
399 B
Plaintext
if TARGET_QEMU_X86
|
|
|
|
config SYS_BOARD
|
|
default "qemu-x86"
|
|
|
|
config SYS_VENDOR
|
|
default "emulation"
|
|
|
|
config SYS_SOC
|
|
default "qemu"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "qemu-x86"
|
|
|
|
config SYS_TEXT_BASE
|
|
default 0xfff00000 if !EFI_STUB
|
|
default 0x01110000 if EFI_STUB
|
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
def_bool y
|
|
select X86_RESET_VECTOR if !EFI_STUB
|
|
select QEMU
|
|
select BOARD_ROMSIZE_KB_1024
|
|
|
|
endif
|