Rename arch_nshinitialize() to board_app_initialize()

This commit is contained in:
Gregory Nutt 2015-03-31 10:21:31 -06:00
parent 5ca324cad8
commit 6bad91308d
4 changed files with 8 additions and 7 deletions

View File

@ -798,9 +798,10 @@ endmenu # USB Device Trace Support
config NSH_ARCHINIT
bool "Have architecture-specific initialization"
default n
select LIB_BOARDCTL
---help---
Set if your board provides architecture specific initialization
via the board-specific function nsh_archinitialize(). This
via the board-interface function boardctl(). The boardctl()
function will be called early in NSH initialization to allow
board logic to do such things as configure MMC/SD slots.

View File

@ -1258,9 +1258,9 @@ NSH-Specific Configuration Settings
* CONFIG_NSH_ARCHINIT
Set if your board provides architecture specific initialization
via the board-specific function nsh_archinitialize(). This
function will be called early in NSH initialization to allow
board logic to do such things as configure MMC/SD slots.
via the board-interface function boardctl(). This function will
be called early in NSH initialization to allow board logic to
do such things as configure MMC/SD slots.
If Telnet is selected for the NSH console, then we must configure
the resources used by the Telnet daemon and by the Telnet clients.

View File

@ -773,9 +773,9 @@ int nsh_loginscript(FAR struct nsh_vtbl_s *vtbl);
/* Architecture-specific initialization */
#ifdef CONFIG_NSH_ARCHINIT
int nsh_archinitialize(void);
int board_app_initialize(void);
#else
# define nsh_archinitialize() (-ENOSYS)
# define board_app_initialize() (-ENOSYS)
#endif
#ifdef CONFIG_NSH_ARCHMAC

View File

@ -95,7 +95,7 @@ void nsh_initialize(void)
/* Perform architecture-specific initialization (if available) */
(void)nsh_archinitialize();
(void)board_app_initialize();
/* Bring up the network */