[U-Boot] [PATCH] video: arm: rpi: Add brcm,bcm2708-fb compatible

Emmanuel Vadot manu at freebsd.org
Mon Jul 2 12:33:14 UTC 2018


When using CONFIG_OF_BOARD on rpi to use the dtb provided by the
RaspberryPi Fundation, the compatible string isn't the same, resulting
in not-functional video in u-boot.

Signed-off-by: Oleksandr Tymoshenko <gonzo at FreeBSD.org>
Signed-off-by: Emmanuel Vadot <manu at freebsd.org>
---
 drivers/video/bcm2835.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/bcm2835.c b/drivers/video/bcm2835.c
index 602d87d3db..bc41090aed 100644
--- a/drivers/video/bcm2835.c
+++ b/drivers/video/bcm2835.c
@@ -48,6 +48,7 @@ static int bcm2835_video_probe(struct udevice *dev)
 
 static const struct udevice_id bcm2835_video_ids[] = {
 	{ .compatible = "brcm,bcm2835-hdmi" },
+	{ .compatible = "brcm,bcm2708-fb" },
 	{ }
 };
 
-- 
2.17.0



More information about the U-Boot mailing list