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:
602b082
)
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>
Fri, 4 Dec 2015 15:31:02 +0000
(16:31 +0100)
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 69edc3a3a4a382512167ae3660f49f953c419be5..359cbc95f89dcda0863a063c831450d4cc1beda5 100644
(file)
--- 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();