stm32f429i-disco: change ltdc initializing during boot up. This moves initializing of the ili9341 lcd and ltdc driver to the board specific initializing routine.

Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
This commit is contained in:
Gregory Nutt 2014-12-29 09:50:36 -06:00
parent 3e6307d8ec
commit 3a5571da63
2 changed files with 5 additions and 5 deletions

View File

@ -547,7 +547,7 @@ CONFIG_NAME_MAX=32
#
# RTOS hooks
#
# CONFIG_BOARD_INITIALIZE is not set
CONFIG_BOARD_INITIALIZE=y
# CONFIG_SCHED_STARTHOOK is not set
# CONFIG_SCHED_ATEXIT is not set
# CONFIG_SCHED_ONEXIT is not set

View File

@ -104,10 +104,6 @@ void stm32_boardinitialize(void)
#ifdef CONFIG_STM32_FSMC
stm32_enablefsmc();
#endif
#ifdef CONFIG_STM32_LTDC
up_fbinitialize();
#endif
}
/****************************************************************************
@ -126,6 +122,10 @@ void stm32_boardinitialize(void)
#ifdef CONFIG_BOARD_INITIALIZE
void board_initialize(void)
{
#ifdef CONFIG_STM32_LTDC
up_fbinitialize();
#endif
/* Perform NSH initialization here instead of from the NSH. This
* alternative NSH initialization is necessary when NSH is ran in user-space
* but the initialization function must run in kernel space.