forked from nuttx/nuttx-update
boards: spresense: Add eMMC initialization into bringup function
Add eMMC initialization into bringup function.
This commit is contained in:
parent
9717f48a18
commit
1ce5dd948e
1 changed files with 10 additions and 0 deletions
|
@ -440,6 +440,16 @@ int cxd56_bringup(void)
|
|||
board_automount_initialize();
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_CXD56_EMMC) && !defined(CONFIG_CXD56_EMMC_LATE_INITIALIZE)
|
||||
/* Mount the eMMC block driver */
|
||||
|
||||
ret = board_emmc_initialize();
|
||||
if (ret < 0)
|
||||
{
|
||||
_err("ERROR: Failed to initialize eMMC: %d\n", ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CPUFREQ_RELEASE_LOCK
|
||||
/* Enable dynamic clock control and CPU clock down for power saving */
|
||||
|
||||
|
|
Loading…
Reference in a new issue