]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
video: Tighten some video driver dependencies
authorTom Rini <trini@konsulko.com>
Wed, 12 Nov 2025 20:00:04 +0000 (14:00 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 30 Dec 2025 16:21:48 +0000 (10:21 -0600)
A few video drivers cannot build without access to some platform
specific header files. Express those requirements in Kconfig as well.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/video/Kconfig
drivers/video/bridge/Kconfig
drivers/video/exynos/Kconfig
drivers/video/imx/Kconfig
drivers/video/meson/Kconfig
drivers/video/rockchip/Kconfig
drivers/video/stm32/Kconfig
drivers/video/ti/Kconfig

index a12df55f84ffc7152d99cc41e0206ab4309e794c..0fc1c161541e74cccd24743f31b52f02273f99a0 100644 (file)
@@ -523,6 +523,7 @@ config ATMEL_LCD_BGR555
 
 config VIDEO_BCM2835
        bool "Display support for BCM2835"
+       depends on ARCH_BCM283X
        imply VIDEO_DAMAGE
        help
          The graphics processor already sets up the display so this driver
@@ -755,6 +756,7 @@ source "drivers/video/meson/Kconfig"
 
 config VIDEO_MVEBU
        bool "Armada XP LCD controller"
+       depends on ARCH_MVEBU
        imply VIDEO_DAMAGE
        ---help---
        Support for the LCD controller integrated in the Marvell
@@ -796,6 +798,7 @@ config NXP_TDA19988
 
 config ATMEL_HLCD
        bool "Enable ATMEL video support using HLCDC"
+       depends on ARCH_AT91
        imply VIDEO_DAMAGE
        help
           HLCDC supports video output to an attached LCD panel.
@@ -907,6 +910,7 @@ source "drivers/video/imx/Kconfig"
 
 config VIDEO_MXS
        bool "Enable video support on i.MX28/i.MX6UL/i.MX7 SoCs"
+       depends on MACH_IMX
        imply VIDEO_DAMAGE
        help
          Enable framebuffer driver for i.MX28/i.MX6UL/i.MX7 processors
index a48cec7a138448d29b87e9d9c2b3dea283009fa3..5322a00292851b4d64af96694c02b83dbe69afd4 100644 (file)
@@ -53,7 +53,7 @@ config VIDEO_BRIDGE_SOLOMON_SSD2825
 
 config VIDEO_BRIDGE_TOSHIBA_TC358768
        bool "Support Toshiba TC358768 MIPI DSI bridge"
-       depends on VIDEO_BRIDGE && PANEL && DM_GPIO
+       depends on VIDEO_BRIDGE && PANEL && DM_GPIO && !64BIT
        select VIDEO_MIPI_DSI
        select DM_I2C
        help
index a2cf752aac0393e7687f6a1d1084af97eab39be1..1fffec5c9c5e77a539556d3c606d009121329955 100644 (file)
@@ -1,7 +1,7 @@
 
 menuconfig VIDEO_EXYNOS
        bool "Enable Exynos video support"
-       depends on VIDEO
+       depends on VIDEO && ARCH_EXYNOS
        help
          Enable support for various video output options on Exynos SoCs.
 
index 4a1927c66d7daab945e28bf1f7a7fff1e1f64114..b35ba965efc36cfd739d9eb224e6d84481f39437 100644 (file)
@@ -23,3 +23,4 @@ config IMX_LDB
 
 config IMX_LCDIF
        bool "i.MX LCDIFv3 LCD controller"
+       depends on MACH_IMX
index fcf486ca0a3a1ff58cf53703a7080843c34d2224..77c3017382eb9862b3af23c1adee04b4a1cc1ba6 100644 (file)
@@ -6,7 +6,7 @@
 
 config VIDEO_MESON
        bool "Enable Amlogic Meson video support"
-       depends on VIDEO
+       depends on VIDEO && ARCH_MESON
        select DISPLAY
        imply VIDEO_DAMAGE
        help
index 0f4550a29e38b2ab7f5e228894cfb2970cf5cc40..96af6d28ef0b3b9d7d2301b0e577d7dec2349b26 100644 (file)
@@ -10,7 +10,7 @@
 
 menuconfig VIDEO_ROCKCHIP
        bool "Enable Rockchip Video Support"
-       depends on VIDEO
+       depends on VIDEO && ARCH_ROCKCHIP
        imply VIDEO_DAMAGE
        help
          Rockchip SoCs provide video output capabilities for High-Definition
index c354c402c288b4c004bd2b5cc74a4d00beef2773..ea4ce6799fda43f5d80bebf5a661ef2ba9ac9693 100644 (file)
@@ -7,7 +7,6 @@
 
 menuconfig VIDEO_STM32
        bool "Enable STM32 video support"
-       depends on VIDEO
        imply VIDEO_DAMAGE
        help
          STM32 supports many video output options including RGB and
index 3081e9e8c09b41823325b8c0182935c9e754b400..0483f760ea19c774d07ca6a813b8e22b5637c016 100644 (file)
@@ -4,5 +4,6 @@
 #
 config AM335X_LCD
        bool "Enable AM335x video support"
+       depends on ARCH_OMAP2PLUS
        help
           Supports video output to an attached LCD panel.