tegra: video: Move the check for CONFIG_OF_CONTROL to Kconfig
We can check this in Kconfig now.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Tom Warren <twarren@nvidia.com>
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index b6c0e3c..ff4179f 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -383,6 +383,7 @@
config VIDEO_TEGRA20
bool "Enable LCD support on Tegra20"
+ depends on OF_CONTROL
help
Tegra20 supports video output to an attached LCD panel as well as
other options such as HDMI. Only the LCD is supported in U-Boot.