upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
661 B
35 lines
661 B
8 years ago
|
/*
|
||
|
* Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
|
||
|
*
|
||
|
* SPDX-License-Identifier: GPL-2.0+
|
||
|
*/
|
||
|
|
||
|
#include <common.h>
|
||
|
#include <dm.h>
|
||
|
#include <pci.h>
|
||
|
#include <vbe.h>
|
||
|
|
||
|
static int vesa_video_probe(struct udevice *dev)
|
||
|
{
|
||
|
return vbe_setup_video(dev, NULL);
|
||
|
}
|
||
|
|
||
|
static const struct udevice_id vesa_video_ids[] = {
|
||
|
{ .compatible = "vesa-fb" },
|
||
|
{ }
|
||
|
};
|
||
|
|
||
|
U_BOOT_DRIVER(vesa_video) = {
|
||
|
.name = "vesa_video",
|
||
|
.id = UCLASS_VIDEO,
|
||
|
.of_match = vesa_video_ids,
|
||
|
.probe = vesa_video_probe,
|
||
|
};
|
||
|
|
||
|
static struct pci_device_id vesa_video_supported[] = {
|
||
|
{ PCI_DEVICE_CLASS(PCI_CLASS_DISPLAY_VGA << 8, ~0) },
|
||
|
{ },
|
||
|
};
|
||
|
|
||
|
U_BOOT_PCI_DEVICE(vesa_video, vesa_video_supported);
|