summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2014-07-29 14:38:04 +0200
committerPrzemyslaw Marczak <p.marczak@samsung.com>2015-05-18 11:54:52 +0200
commitae3209ec84ea1bac35ca4a7e8c8027f0f5de7f7c (patch)
treedd3da6cc2b3202d8abddd4db52f682e06d9f8230
parent0cd34446abb9c059bca6c5941edcd9d005aac9ba (diff)
downloadu-boot-ae3209ec84ea1bac35ca4a7e8c8027f0f5de7f7c.tar.gz
u-boot-ae3209ec84ea1bac35ca4a7e8c8027f0f5de7f7c.tar.bz2
u-boot-ae3209ec84ea1bac35ca4a7e8c8027f0f5de7f7c.zip
exynos_fb.c: lcd_ctrl_init(): check board before init lcd
Change-Id: Ie8219913e8501fc2180d5d96f19844d3e08a6326 Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
-rw-r--r--drivers/video/exynos_fb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/exynos_fb.c b/drivers/video/exynos_fb.c
index 8f3b8263da..3b2d5afc43 100644
--- a/drivers/video/exynos_fb.c
+++ b/drivers/video/exynos_fb.c
@@ -21,6 +21,7 @@
#include <asm/arch/system.h>
#include <asm/gpio.h>
#include <asm-generic/errno.h>
+#include <samsung/misc.h>
#include "exynos_fb.h"
@@ -292,6 +293,10 @@ int exynos_lcd_early_init(const void *blob)
void lcd_ctrl_init(void *lcdbase)
{
+#ifdef CONFIG_OF_MULTI
+ if (!board_is_trats2())
+ return;
+#endif
set_system_display_ctrl();
set_lcd_clk();