video: arm: rpi: Add brcm,bcm2708-fb compatible
authorEmmanuel Vadot <manu@freebsd.org>
Mon, 2 Jul 2018 12:33:14 +0000 (14:33 +0200)
committerAnatolij Gustschin <agust@denx.de>
Mon, 2 Jul 2018 13:23:50 +0000 (15:23 +0200)
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@FreeBSD.org>
Signed-off-by: Emmanuel Vadot <manu@freebsd.org>
drivers/video/bcm2835.c

index 602d87d3dbeab1b0b904312e6b1760ecd4c1a5cc..bc41090aed76483a790cfbcd0f30d4e662c94fc5 100644 (file)
@@ -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" },
        { }
 };