tegra: video: Rename CONFIG_VIDEO_TEGRA to CONFIG_VIDEO_TEGRA20
authorSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2016 23:37:51 +0000 (16:37 -0700)
committerTom Warren <twarren@nvidia.com>
Tue, 16 Feb 2016 16:17:51 +0000 (09:17 -0700)
This option refers only to the tegra20 video driver, so name it as such
to avoid confusion with tegra124.

Also move this option to Kconfig.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Tom Warren <twarren@nvidia.com>
18 files changed:
arch/arm/mach-tegra/tegra20/Makefile
board/toradex/colibri_t20/colibri_t20.c
configs/colibri_t20_defconfig
configs/harmony_defconfig
configs/medcom-wide_defconfig
configs/paz00_defconfig
configs/seaboard_defconfig
configs/tec_defconfig
configs/ventana_defconfig
drivers/video/Kconfig
drivers/video/Makefile
include/configs/colibri_t20.h
include/configs/harmony.h
include/configs/medcom-wide.h
include/configs/paz00.h
include/configs/seaboard.h
include/configs/tec.h
include/configs/ventana.h

index fc3fb4ae4ccdb7bf67175102e847216d93825d08..efcf843a2aeda102ebf8a8632824e279d4633377 100644 (file)
@@ -7,7 +7,7 @@
 ifdef CONFIG_SPL_BUILD
 obj-y  += cpu.o
 else
-obj-$(CONFIG_VIDEO_TEGRA) += display.o
+obj-$(CONFIG_VIDEO_TEGRA20) += display.o
 endif
 
 # The AVP is ARMv4T architecture so we must use special compiler
index 83e1ddc734c07cdf2e8392bfa4141d7ba861a458..879f25a5384bfa7bcda5d9452c14f034ec4c9f72 100644 (file)
@@ -114,7 +114,7 @@ void pin_mux_usb(void)
 }
 #endif
 
-#ifdef CONFIG_VIDEO_TEGRA
+#ifdef CONFIG_VIDEO_TEGRA20
 /*
  * Routine: pin_mux_display
  * Description: setup the pin muxes/tristate values for the LCD interface)
index 982cee4bcc0fda7d6447563241978227ae579f4a..9b198e07da2a3c97a877e61e03724e4dff5af899 100644 (file)
@@ -14,4 +14,5 @@ CONFIG_CMD_GPIO=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
+CONFIG_VIDEO_TEGRA20=y
 CONFIG_USE_PRIVATE_LIBGCC=y
index a3f73ccac8444ba149aeeb4e77f4e65999673dee..d1abd4bca8e60a121e0270b04dfcafea49d79ed5 100644 (file)
@@ -16,3 +16,4 @@ CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USE_PRIVATE_LIBGCC=y
+CONFIG_VIDEO_TEGRA20=y
index 6c9e41af83769657ef9217095db33547a0942c27..579a338f8e79325d173b0a123f89959a6c128f3c 100644 (file)
@@ -15,4 +15,5 @@ CONFIG_CMD_GPIO=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
+CONFIG_VIDEO_TEGRA20=y
 CONFIG_USE_PRIVATE_LIBGCC=y
index 9d7350ab83c8e18a6896f01cf9ceb0110640b47e..37118f8aed2202099b4e284cd587f1edda1c1a7d 100644 (file)
@@ -15,4 +15,5 @@ CONFIG_CMD_GPIO=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
+CONFIG_VIDEO_TEGRA20=y
 CONFIG_USE_PRIVATE_LIBGCC=y
index ad16a10d5b800ab27c44c4a011eda348800875ef..3ced3cc701c141b8b4cb19e95e19a665623a69ac 100644 (file)
@@ -15,4 +15,5 @@ CONFIG_CMD_GPIO=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
+CONFIG_VIDEO_TEGRA20=y
 CONFIG_USE_PRIVATE_LIBGCC=y
index ea3c3696f589f5380b41ca63a7af10d9781bfe97..3b14300ef6098534e461b72d4d10004894c80611 100644 (file)
@@ -15,4 +15,5 @@ CONFIG_CMD_GPIO=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
+CONFIG_VIDEO_TEGRA20=y
 CONFIG_USE_PRIVATE_LIBGCC=y
index 3423f24cbdadf90fb4c2437162c95982224e63eb..d83e0d316352442242047fa3c56eb36ae52fb56c 100644 (file)
@@ -15,4 +15,5 @@ CONFIG_CMD_GPIO=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
+CONFIG_VIDEO_TEGRA20=y
 CONFIG_USE_PRIVATE_LIBGCC=y
index 72afae0d26a81f31508d242d5a9da48a6bb40bac..b6c0e3cc2797932d4f4ca7ee51caa205bb1910fa 100644 (file)
@@ -381,6 +381,14 @@ config VIDEO_SANDBOX_SDL
          console device and can display stdout output. Within U-Boot is is
          a normal bitmap display and can display images as well as text.
 
+config VIDEO_TEGRA20
+       bool "Enable LCD support on Tegra20"
+       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.
+          This option enables this support which can be used on devices which
+          have an LCD display connected.
+
 config VIDEO_TEGRA124
        bool "Enable video support on Tegra124"
        depends on DM_VIDEO
index c55e6eda3b9667f67b58af3d5a76e337a133a23f..d19a1d9042b779c7d39c8e11fa3995b290138c37 100644 (file)
@@ -57,7 +57,7 @@ obj-$(CONFIG_VIDEO_SED13806) += sed13806.o
 obj-$(CONFIG_VIDEO_SM501) += sm501.o
 obj-$(CONFIG_VIDEO_SMI_LYNXEM) += smiLynxEM.o videomodes.o
 obj-$(CONFIG_VIDEO_SUNXI) += sunxi_display.o videomodes.o
-obj-$(CONFIG_VIDEO_TEGRA) += tegra.o
+obj-$(CONFIG_VIDEO_TEGRA20) += tegra.o
 obj-$(CONFIG_VIDEO_VCXK) += bus_vcxk.o
 obj-$(CONFIG_VIDEO_VESA) += vesa_fb.o
 obj-$(CONFIG_FORMIKE) += formike.o
index 7611fc5004cc890f6cd2b0b4f8a9c797ca84560b..e1aab72db72770bc6e224a31248d9e943bbb9f30 100644 (file)
@@ -55,7 +55,6 @@
 /* LCD support */
 #define CONFIG_LCD
 #define CONFIG_PWM_TEGRA
-#define CONFIG_VIDEO_TEGRA
 #define LCD_BPP                                LCD_COLOR16
 #define CONFIG_SYS_WHITE_ON_BLACK
 #define CONFIG_CONSOLE_SCROLL_LINES    10
index e0bc7c0d730ee69b86238aa500df6eb4514ad809..89dae8f1efb7de4d8bf13def4de362cec2f36637 100644 (file)
@@ -62,7 +62,6 @@
 /* LCD support */
 #define CONFIG_LCD
 #define CONFIG_PWM_TEGRA
-#define CONFIG_VIDEO_TEGRA
 #define LCD_BPP                                LCD_COLOR16
 #define CONFIG_SYS_WHITE_ON_BLACK
 #define CONFIG_CONSOLE_SCROLL_LINES    10
index 6dfd5e2c40c48c17ececc3dee33d43af94675bbc..819cc18c91a75f44419f7a5aca0c19362e45d495 100644 (file)
@@ -50,7 +50,6 @@
 /* LCD support */
 #define CONFIG_LCD
 #define CONFIG_PWM_TEGRA
-#define CONFIG_VIDEO_TEGRA
 #define LCD_BPP LCD_COLOR16
 #define CONFIG_SYS_WHITE_ON_BLACK
 
index d9dd9bdcd4bcb4561f7519f7e4e5157577618392..fc590251c4337a82df1079515dd1fd4c415920b4 100644 (file)
@@ -50,7 +50,6 @@
 /* LCD support */
 #define CONFIG_LCD
 #define CONFIG_PWM_TEGRA
-#define CONFIG_VIDEO_TEGRA
 #define LCD_BPP                                LCD_COLOR16
 #define CONFIG_SYS_WHITE_ON_BLACK
 #define CONFIG_CONSOLE_SCROLL_LINES    10
index 3e904746f29517fc5cb51402caa5a20c06d7e97c..87bf1b14bcd5ce9bb83b092a5c92ea32f483dc5d 100644 (file)
@@ -68,7 +68,6 @@
 /* LCD support */
 #define CONFIG_LCD
 #define CONFIG_PWM_TEGRA
-#define CONFIG_VIDEO_TEGRA
 #define LCD_BPP                                LCD_COLOR16
 #define CONFIG_SYS_WHITE_ON_BLACK
 #define CONFIG_CONSOLE_SCROLL_LINES    10
index 4b8ca5e8da30717d54658d14971e49fcff328960..453ecc65748906bbbbd812fdbf4f0e8c07b2012c 100644 (file)
@@ -50,7 +50,6 @@
 /* LCD support */
 #define CONFIG_LCD
 #define CONFIG_PWM_TEGRA
-#define CONFIG_VIDEO_TEGRA
 #define LCD_BPP LCD_COLOR16
 #define CONFIG_SYS_WHITE_ON_BLACK
 
index e9c3500109474a879f249465c860942ca0638197..be54f95c412ab2ed11453a3840bb4328e7085173 100644 (file)
@@ -51,7 +51,6 @@
 /* LCD support */
 #define CONFIG_LCD
 #define CONFIG_PWM_TEGRA
-#define CONFIG_VIDEO_TEGRA
 #define LCD_BPP                                LCD_COLOR16
 #define CONFIG_SYS_WHITE_ON_BLACK
 #define CONFIG_CONSOLE_SCROLL_LINES    10