commit | b018a8c71602d53d5d5ebac859f33327b97e9cec | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Mon Jul 06 16:31:26 2015 +0800 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 14 18:03:18 2015 -0600 |
tree | 85a666b538c472635118743b2e8b4492af2175d3 | |
parent | 5afeb4bb456de129a88f38fae1573564cd53fc41 [diff] |
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>