exynos: Disable LCD display for boards we can't convert
authorSimon Glass <sjg@chromium.org>
Mon, 22 Feb 2016 04:08:54 +0000 (21:08 -0700)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 25 May 2016 04:25:18 +0000 (13:25 +0900)
Some boards have the LCD enabled but I cannot test operation for the driver
model conversion. Disable the LCD on these to avoid build errors.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/trats/trats.c
board/samsung/universal_c210/universal.c
include/configs/s5pc210_universal.h
include/configs/smdk5250.h
include/configs/smdk5420.h
include/configs/trats.h
include/configs/trats2.h

index 54d01ec439a239b27b341014d8546074570f3ef5..66a54d436ded8182c8d6a53b8d02bca93f43980d 100644 (file)
@@ -596,6 +596,7 @@ int mipi_power(void)
        return 0;
 }
 
+#ifdef CONFIG_LCD
 void exynos_lcd_misc_init(vidinfo_t *vid)
 {
 #ifdef CONFIG_TIZEN
@@ -606,3 +607,4 @@ void exynos_lcd_misc_init(vidinfo_t *vid)
        setenv("lcdinfo", "lcd=s6e8ax0");
 #endif
 }
+#endif
index 426ae14af26db0e19da90e0a75201095d802f3b7..81e35b6f7590308c612d358249819464c002678d 100644 (file)
@@ -367,6 +367,7 @@ int exynos_init(void)
        return 0;
 }
 
+#ifdef CONFIG_LCD
 void exynos_lcd_misc_init(vidinfo_t *vid)
 {
 #ifdef CONFIG_TIZEN
@@ -379,3 +380,4 @@ void exynos_lcd_misc_init(vidinfo_t *vid)
 
        setenv("lcdinfo", "lcd=ld9040");
 }
+#endif
index bdb368ed33baadbe03aedf4c6a81df7d2f676261..99153067b293be7001057a7025e2489c80e28ec7 100644 (file)
@@ -217,9 +217,6 @@ int universal_spi_read(void);
 /*
  * LCD Settings
  */
-#define CONFIG_EXYNOS_FB
-#define CONFIG_LCD
-#define CONFIG_CMD_BMP
 #define CONFIG_BMP_16BPP
 #define CONFIG_LD9040
 #define CONFIG_VIDEO_BMP_GZIP
index f66bb121f32a11ad8bf98e85235afdef10fd1386..92a08332a3cc46cacd84c21b977fe2323788d5a4 100644 (file)
@@ -13,6 +13,9 @@
 #include <configs/exynos5-dt-common.h>
 #include <configs/exynos5-common.h>
 
+#undef CONFIG_LCD
+#undef CONFIG_EXYNOS_FB
+#undef CONFIG_EXYNOS_DP
 #undef CONFIG_KEYBOARD
 
 #define CONFIG_BOARD_COMMON
index 9cf886c0664f7a5f92a587a096bf72129d749681..5fe21d9afd86010eb1d101591c5149cd0ef8bfa0 100644 (file)
 #include <configs/exynos5-dt-common.h>
 #include <configs/exynos5-common.h>
 
+#undef CONFIG_LCD
+#undef CONFIG_EXYNOS_FB
+#undef CONFIG_EXYNOS_DP
+
 #undef CONFIG_KEYBOARD
 
 #define CONFIG_BOARD_COMMON
index 0c875cb47fcd6bcfe247ca112e36afac60cfc9f3..22b0c90ee9625cc4b5c330fd637a304068b1675e 100644 (file)
 #define CONFIG_SYS_WHITE_ON_BLACK
 
 /* LCD */
-#define CONFIG_EXYNOS_FB
-#define CONFIG_LCD
-#define CONFIG_CMD_BMP
 #define CONFIG_BMP_16BPP
 #define CONFIG_FB_ADDR         0x52504000
-#define CONFIG_S6E8AX0
 #define CONFIG_EXYNOS_MIPI_DSIM
 #define CONFIG_VIDEO_BMP_GZIP
 #define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE  ((500 * 160 * 4) + 54)
index 492a253d73a3923663cf6a14fee8d4c024ca53a6..1febaaef51f339fae9404fa3fe584c2a0c10f058 100644 (file)
@@ -222,12 +222,8 @@ int get_soft_i2c_sda_pin(void);
 #define CONFIG_SYS_WHITE_ON_BLACK
 
 /* LCD */
-#define CONFIG_EXYNOS_FB
-#define CONFIG_LCD
-#define CONFIG_CMD_BMP
 #define CONFIG_BMP_16BPP
 #define CONFIG_FB_ADDR         0x52504000
-#define CONFIG_S6E8AX0
 #define CONFIG_EXYNOS_MIPI_DSIM
 #define CONFIG_VIDEO_BMP_GZIP
 #define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE ((500 * 160 * 4) + 54)