projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5015603
)
exynos_fb.c: lcd_ctrl_init(): check board before init lcd
author
Przemyslaw Marczak
<p.marczak@samsung.com>
Tue, 29 Jul 2014 12:38:04 +0000
(14:38 +0200)
committer
Przemyslaw Marczak
<p.marczak@samsung.com>
Wed, 17 Sep 2014 14:28:45 +0000
(16:28 +0200)
Change-Id: Ie8219913e8501fc2180d5d96f19844d3e08a6326
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
drivers/video/exynos_fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/exynos_fb.c
b/drivers/video/exynos_fb.c
index
180a3b4
..
b473bea
100644
(file)
--- a/
drivers/video/exynos_fb.c
+++ b/
drivers/video/exynos_fb.c
@@
-20,6
+20,7
@@
#include <asm/arch/dp_info.h>
#include <asm/arch/system.h>
#include <asm-generic/errno.h>
+#include <samsung/misc.h>
#include "exynos_fb.h"
@@
-278,6
+279,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();