1
0
Fork 0
forked from nuttx/nuttx-update

boards: spresense: Add eMMC initialization into bringup function

Add eMMC initialization into bringup function.
This commit is contained in:
SPRESENSE 2023-03-01 14:30:28 +09:00 committed by Alin Jerpelea
parent 9717f48a18
commit 1ce5dd948e

View file

@ -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 */