[U-Boot] [PATCH 2/6] x86: qemu: Adjust VGA initialization

Simon Glass sjg at chromium.org
Wed May 27 05:13:06 CEST 2015


On 25 May 2015 at 08:36, Bin Meng <bmeng.cn at gmail.com> wrote:
> As VGA option rom needs to run at C segment, although QEMU PAM emulation
> seems to only guard E/F segments, for correctness, move VGA initialization
> after PAM decode C/D/E/F segments.
>
> Also since we already tested QEMU targets to differentiate I440FX and Q35
> platforms, change to locate the VGA device via hardcoded b.d.f instead of
> dynamic search for its vendor id & device id pair.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  arch/x86/cpu/qemu/pci.c                 | 34 +++++++++++++++------------------
>  arch/x86/include/asm/arch-qemu/device.h |  2 ++
>  2 files changed, 17 insertions(+), 19 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list