Commit b4c9cd68 authored by Igor Opaniuk's avatar Igor Opaniuk Committed by Stefano Babic

colibri_imx7: wrap video specific funcs with ifdefs

Wrap video specific functionality with ifdefs.

Fixes: 195011b2("colibri-imx7: fix splash logo drawing")
Signed-off-by: default avatarIgor Opaniuk <igor.opaniuk@toradex.com>
parent e6fd30dd
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment