diff options
author | Ajay Kumar <ajaykumar.rs@samsung.com> | 2013-01-10 21:06:10 +0000 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2013-01-11 17:15:04 +0900 |
commit | 99e516295f4fae7bc0a1d7efaf3106c5ddd43fad (patch) | |
tree | 356784a49926911da6ab71297e081a7e0e14b122 /board/samsung/smdk5250 | |
parent | 5374d386f88d8efc8caf311e20c81602d1db9ece (diff) | |
download | u-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 'board/samsung/smdk5250')
-rw-r--r-- | board/samsung/smdk5250/smdk5250.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/samsung/smdk5250/smdk5250.c b/board/samsung/smdk5250/smdk5250.c index 9c4bf9b..7a5f132 100644 --- a/board/samsung/smdk5250/smdk5250.c +++ b/board/samsung/smdk5250/smdk5250.c @@ -281,6 +281,7 @@ int board_early_init_f(void) } #endif +#ifdef CONFIG_LCD void cfg_lcd_gpio(void) { struct exynos5_gpio_part1 *gpio1 = @@ -374,3 +375,4 @@ void init_panel_info(vidinfo_t *vid) exynos_set_dp_platform_data(&dp_platform_data); } +#endif |