]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Run QEMU machine setup in SPL
authorSimon Glass <sjg@chromium.org>
Sun, 30 Jul 2023 17:16:01 +0000 (11:16 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 9 Aug 2023 15:31:11 +0000 (23:31 +0800)
commit8c10154b9098ca8bc6766062edc71b0a4c450ab9
treecee59b412893f47800aace4a50eaaf8f0ded1fca
parenta3ebb882b4a228fccaa8f4c4b504ce00e8dab38d
x86: Run QEMU machine setup in SPL

Call the hardware-init function from QEMU from SPL. This allows the
video BIOS to operate correctly.

Create an x86-wide qemu.h header to avoid having to #ifdef the header
in spl.c

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com> # qemu-x86_64
arch/x86/cpu/qemu/qemu.c
arch/x86/include/asm/qemu.h [new file with mode: 0644]
arch/x86/lib/spl.c