summaryrefslogtreecommitdiff
path: root/board/technexion
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-10-18 07:46:31 -0600
committerAnatolij Gustschin <agust@denx.de>2022-10-30 20:07:17 +0100
commitb86986c7b314f1378ca5be8df49310a6ce7302f8 (patch)
tree11f72c50e524ae5b37e934e9a5d0558c00c6ee97 /board/technexion
parent9330abfb4a00512213d34147b78d2041fd467c6e (diff)
video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO
Now that all the old code is gone, rename this option. Driver model migration is now complete. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/technexion')
-rw-r--r--board/technexion/pico-imx7d/pico-imx7d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/technexion/pico-imx7d/pico-imx7d.c b/board/technexion/pico-imx7d/pico-imx7d.c
index 1c0cc238df..7db34abcb1 100644
--- a/board/technexion/pico-imx7d/pico-imx7d.c
+++ b/board/technexion/pico-imx7d/pico-imx7d.c
@@ -175,7 +175,7 @@ int board_early_init_f(void)
return 0;
}
-#ifdef CONFIG_DM_VIDEO
+#ifdef CONFIG_VIDEO
void setup_lcd(void)
{
gpio_request(IMX_GPIO_NR(1, 11), "lcd_brightness");
@@ -192,7 +192,7 @@ int board_init(void)
/* address of boot parameters */
gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
-#ifdef CONFIG_DM_VIDEO
+#ifdef CONFIG_VIDEO
setup_lcd();
#endif
#ifdef CONFIG_FEC_MXC