summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorAjay Kumar <ajaykumar.rs@samsung.com>2013-01-10 21:06:10 +0000
committerMinkyu Kang <mk7.kang@samsung.com>2013-01-11 17:15:04 +0900
commit99e516295f4fae7bc0a1d7efaf3106c5ddd43fad (patch)
tree356784a49926911da6ab71297e081a7e0e14b122 /include/configs
parent5374d386f88d8efc8caf311e20c81602d1db9ece (diff)
downloadu-boot-imx-99e516295f4fae7bc0a1d7efaf3106c5ddd43fad.zip
u-boot-imx-99e516295f4fae7bc0a1d7efaf3106c5ddd43fad.tar.gz
u-boot-imx-99e516295f4fae7bc0a1d7efaf3106c5ddd43fad.tar.bz2
EXYNOS5: Make all display related code dependent on CONFIG_LCD
u-boot compilation fails for smdk5250 when we deselect CONFIG_LCD from the main config file. Following error was observed: drivers/video/libvideo.o: In function `exynos_lcd_init': /home/ajay/u-boot-samsung/drivers/video/exynos_fb.c:68: undefined reference to `lcd_set_flush_dcache' This is because exynos video drivers have dependency on CONFIG_LCD. Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/exynos5250-dt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
index 07bca1d..298bae9 100644
--- a/include/configs/exynos5250-dt.h
+++ b/include/configs/exynos5250-dt.h
@@ -299,10 +299,12 @@
/* Display */
#define CONFIG_LCD
+#ifdef CONFIG_LCD
#define CONFIG_EXYNOS_FB
#define CONFIG_EXYNOS_DP
#define LCD_XRES 2560
#define LCD_YRES 1600
#define LCD_BPP LCD_COLOR16
+#endif
#endif /* __CONFIG_H */