Commit 99e516295f4fae7bc0a1d7efaf3106c5ddd43fad
Committed by
Minkyu Kang
1 parent
5374d386f8
Exists in
master
and in
54 other branches
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>
Showing 2 changed files with 4 additions and 0 deletions Side-by-side Diff
board/samsung/smdk5250/smdk5250.c
include/configs/exynos5250-dt.h
... | ... | @@ -299,11 +299,13 @@ |
299 | 299 | |
300 | 300 | /* Display */ |
301 | 301 | #define CONFIG_LCD |
302 | +#ifdef CONFIG_LCD | |
302 | 303 | #define CONFIG_EXYNOS_FB |
303 | 304 | #define CONFIG_EXYNOS_DP |
304 | 305 | #define LCD_XRES 2560 |
305 | 306 | #define LCD_YRES 1600 |
306 | 307 | #define LCD_BPP LCD_COLOR16 |
308 | +#endif | |
307 | 309 | |
308 | 310 | #endif /* __CONFIG_H */ |