1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
11 static int vesa_video_probe(struct udevice *dev)
13 return vbe_setup_video(dev, NULL);
16 static const struct udevice_id vesa_video_ids[] = {
17 { .compatible = "vesa-fb" },
21 U_BOOT_DRIVER(vesa_video) = {
24 .of_match = vesa_video_ids,
25 .probe = vesa_video_probe,
28 static struct pci_device_id vesa_video_supported[] = {
29 { PCI_DEVICE_CLASS(PCI_CLASS_DISPLAY_VGA << 8, ~0) },
33 U_BOOT_PCI_DEVICE(vesa_video, vesa_video_supported);