Commit 5950ada6 authored by Sergei Miroshnichenko's avatar Sergei Miroshnichenko

RM#1213 stm32f769i: don't init LTDC pinmux for this board

parent 208a2587
......@@ -288,7 +288,7 @@ static const struct stm32f2_gpio_dsc ext_ram_fsmc_fmc_gpio[] = {
#endif /* CONFIG_SYS_STM32F769I_DISCO */
};
#ifdef CONFIG_VIDEO_STM32F4_LTDC
#if defined(CONFIG_VIDEO_STM32F4_LTDC) && !defined(CONFIG_SYS_STM32F769I_DISCO)
static const struct stm32f2_gpio_dsc ltdc_iomux[] = {
/* PI14 = LCD_CLK */
{STM32F2_GPIO_PORT_I, STM32F2_GPIO_PIN_14},
......@@ -416,7 +416,7 @@ out:
return rv;
}
#ifdef CONFIG_VIDEO_STM32F4_LTDC
#if defined(CONFIG_VIDEO_STM32F4_LTDC) && !defined(CONFIG_SYS_STM32F769I_DISCO)
/*
* Initialize LCD pins
*/
......@@ -498,7 +498,7 @@ int board_init(void)
}
#endif
#ifdef CONFIG_VIDEO_STM32F4_LTDC
#if defined(CONFIG_VIDEO_STM32F4_LTDC) && !defined(CONFIG_SYS_STM32F769I_DISCO)
rv = ltdc_setup_iomux();
if (rv)
return rv;
......
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