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:
parent
3e6307d8ec
commit
3a5571da63
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue