2 * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
4 * SPDX-License-Identifier: GPL-2.0+
12 static int vesa_video_probe(struct udevice *dev)
14 return vbe_setup_video(dev, NULL);
17 static const struct udevice_id vesa_video_ids[] = {
18 { .compatible = "vesa-fb" },
22 U_BOOT_DRIVER(vesa_video) = {
25 .of_match = vesa_video_ids,
26 .probe = vesa_video_probe,
29 static struct pci_device_id vesa_video_supported[] = {
30 { PCI_DEVICE_CLASS(PCI_CLASS_DISPLAY_VGA << 8, ~0) },
34 U_BOOT_PCI_DEVICE(vesa_video, vesa_video_supported);