[U-Boot] [PATCH] ls1028a: video: hdp: disable CONFIG_VIDEO as to fix build warning

Wen He wen.he_1 at nxp.com
Mon Jun 24 07:19:41 UTC 2019


Remove the dependency for VIDEO_IMX_HDP_LOAD as to fixing build warning.

=========================== WARNING ===================================
This board does not use CONFIG_DM_VIDEO Please update the board to use
CONFIG_DM_VIDEO before the v2019.07 release. Failure to update by the
deadline may result in board removal. See doc/driver-model/MIGRATION.txt
for more info.
=======================================================================

Currently, LS1028A just has supported HDP firmware loading, doesn't
supported display on U-boot. so we doesn't need to enable option VIDEO or
DM_VIDEO on the LS1028A.

Signed-off-by: Wen He <wen.he_1 at nxp.com>
---
 configs/ls1028aqds_tfa_defconfig | 1 -
 configs/ls1028ardb_tfa_defconfig | 1 -
 drivers/video/Kconfig            | 2 +-
 3 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/configs/ls1028aqds_tfa_defconfig b/configs/ls1028aqds_tfa_defconfig
index f1c0f4bad1..9e9be40bed 100644
--- a/configs/ls1028aqds_tfa_defconfig
+++ b/configs/ls1028aqds_tfa_defconfig
@@ -59,5 +59,4 @@ CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
-CONFIG_VIDEO=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
diff --git a/configs/ls1028ardb_tfa_defconfig b/configs/ls1028ardb_tfa_defconfig
index 2c877f4966..2e98e940ba 100644
--- a/configs/ls1028ardb_tfa_defconfig
+++ b/configs/ls1028ardb_tfa_defconfig
@@ -60,7 +60,6 @@ CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
-CONFIG_VIDEO=y
 CONFIG_WDT=y
 CONFIG_WDT_SP805=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 93fe333dcc..19c2e7c639 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -557,7 +557,7 @@ config VIDEO_IPUV3
 config VIDEO_IMX_HDP_LOAD
 	bool "i.MX8 HDMI/DP firmware loading"
 	default y
-	depends on VIDEO && ARCH_LS1028A
+	depends on ARCH_LS1028A
 	help
 	  Support for HDMI/DP firmware loading for i.MX8QM and LS1028A
 	  processors. The firmware is copied from system memory to the
-- 
2.17.1



More information about the U-Boot mailing list