EXYNOS5: Make all display related code dependent on CONFIG_LCD
authorAjay Kumar <ajaykumar.rs@samsung.com>
Thu, 10 Jan 2013 21:06:10 +0000 (21:06 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 11 Jan 2013 08:15:04 +0000 (17:15 +0900)
commit99e516295f4fae7bc0a1d7efaf3106c5ddd43fad
tree356784a49926911da6ab71297e081a7e0e14b122
parent5374d386f88d8efc8caf311e20c81602d1db9ece
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>
board/samsung/smdk5250/smdk5250.c
include/configs/exynos5250-dt.h