]> git.dujemihanovic.xyz Git - u-boot.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)
commitea6eef27caba27f8b92b13dda123623d59947ece
treecee59b412893f47800aace4a50eaaf8f0ded1fca
parentd5a3f14c23edb124babeb9a01f543f2ab3a7e14f
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