]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: vesa_fb: Look up VGA device by class instead of id
authorBin Meng <bmeng.cn@gmail.com>
Mon, 6 Jul 2015 08:31:26 +0000 (16:31 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:18 +0000 (18:03 -0600)
commitb018a8c71602d53d5d5ebac859f33327b97e9cec
tree85a666b538c472635118743b2e8b4492af2175d3
parent5afeb4bb456de129a88f38fae1573564cd53fc41
video: vesa_fb: Look up VGA device by class instead of id

Per PCI spec, VGA device reports its class as standard 030000h in
its configuration space, so we can use it to determine if we need
run option rom instead of testing the supported vendor/device ids.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/video/vesa_fb.c