diff options
author | Jernej Skrabec <jernej.skrabec@siol.net> | 2021-04-22 03:14:32 +0300 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2021-04-24 14:44:56 +0300 |
commit | c439b5636464e029ee0e8cf434f0dc36d09fac92 (patch) | |
tree | 8064430057b456ee2c5ad8ef8ef3e4644a7fdd53 /drivers/video | |
parent | a1d2ad4a2d5ce6f83aa6f9722ce8070c5b5b786f (diff) | |
download | u-boot-c439b5636464e029ee0e8cf434f0dc36d09fac92.tar.xz |
video: sunxi: Remove TV probe from DE2
TV driver was never fully implemented. Remove search for it from DE2
driver.
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/sunxi/sunxi_de2.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/video/sunxi/sunxi_de2.c b/drivers/video/sunxi/sunxi_de2.c index a3e21aa5f1..6b836a0119 100644 --- a/drivers/video/sunxi/sunxi_de2.c +++ b/drivers/video/sunxi/sunxi_de2.c @@ -281,20 +281,7 @@ static int sunxi_de2_probe(struct udevice *dev) debug("%s: hdmi display not found (ret=%d)\n", __func__, ret); - ret = uclass_find_device_by_name(UCLASS_DISPLAY, - "sunxi_tve", &disp); - if (ret) { - debug("%s: tv not found (ret=%d)\n", __func__, ret); - return ret; - } - - ret = sunxi_de2_init(dev, plat->base, VIDEO_BPP32, disp, 1, true); - if (ret) - return ret; - - video_set_flush_dcache(dev, 1); - - return 0; + return -ENODEV; } static int sunxi_de2_bind(struct udevice *dev) |