mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
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>
This commit is contained in:
parent
e6fd30dd9e
commit
b4c9cd6875
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user