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