diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-09-14 11:01:07 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-09-17 14:39:09 +0200 |
commit | b4c9cd687586d84933943d7466d1130af3d2c058 (patch) | |
tree | f881971cd5f3b6ffe2b5be1067557b4bc6731a6b | |
parent | e6fd30dd9eef8bdfec2625c1cb8f73d5a6b3e0a1 (diff) |
colibri_imx7: wrap video specific funcs with ifdefs
Wrap video specific functionality with ifdefs.
Fixes: 195011b24d("colibri-imx7: fix splash logo drawing")
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
-rw-r--r-- | board/toradex/colibri_imx7/colibri_imx7.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/toradex/colibri_imx7/colibri_imx7.c b/board/toradex/colibri_imx7/colibri_imx7.c index b087cb0dc7..8afe1bfd5e 100644 --- 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) |