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:
e6fd30d
)
colibri_imx7: wrap video specific funcs with ifdefs
author
Igor Opaniuk
<igor.opaniuk@toradex.com>
Mon, 14 Sep 2020 08:01:07 +0000
(11:01 +0300)
committer
Stefano Babic
<sbabic@denx.de>
Thu, 17 Sep 2020 12:39:09 +0000
(14:39 +0200)
Wrap video specific functionality with ifdefs.
Fixes:
195011b24d
("colibri-imx7: fix splash logo drawing")
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
board/toradex/colibri_imx7/colibri_imx7.c
patch
|
blob
|
history
diff --git
a/board/toradex/colibri_imx7/colibri_imx7.c
b/board/toradex/colibri_imx7/colibri_imx7.c
index
b087cb0
..
8afe1bf
100644
(file)
--- a/
board/toradex/colibri_imx7/colibri_imx7.c
+++ b/
board/toradex/colibri_imx7/colibri_imx7.c
@@
-133,8
+133,10
@@
static int setup_lcd(void)
*/
void board_preboot_os(void)
{
+#ifdef CONFIG_DM_VIDEO
gpio_direction_output(GPIO_PWM_A, 1);
gpio_direction_output(GPIO_BL_ON, 0);
+#endif
}
static void setup_iomux_uart(void)