Re: [PATCH 3/9] x86: Run QEMU machine setup in SPL

2023-07-28 Thread Bin Meng
On Mon, Jul 24, 2023 at 10:52 PM Simon Glass wrote: > > 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 > --- > > arch/x86/cp

[PATCH 3/9] x86: Run QEMU machine setup in SPL

2023-07-24 Thread Simon Glass
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 --- arch/x86/cpu/qemu/qemu.c| 2 +- arch/x86/include/asm/qemu.h | 14 +