boards: cxd56xx: Make board_late_initialize a weak function
Add a weak_function to the board_late_initialize function so that it can be replaced by another file, such as a user application.
This commit is contained in:
parent
c2e45444ff
commit
22d2ef0bf4
@ -23,6 +23,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <nuttx/compiler.h>
|
||||
|
||||
#include <nuttx/board.h>
|
||||
|
||||
@ -93,7 +94,7 @@ int board_app_initialize(uintptr_t arg)
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_BOARD_LATE_INITIALIZE
|
||||
void board_late_initialize(void)
|
||||
void weak_function board_late_initialize(void)
|
||||
{
|
||||
/* Perform board bring-up here instead of from the
|
||||
* board_app_initialize().
|
||||
|
Loading…
Reference in New Issue
Block a user