diff options
Diffstat (limited to 'board/toradex')
-rw-r--r-- | board/toradex/colibri_vf50/colibri_vf50.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/toradex/colibri_vf50/colibri_vf50.c b/board/toradex/colibri_vf50/colibri_vf50.c index fde13906012..ace9b552541 100644 --- a/board/toradex/colibri_vf50/colibri_vf50.c +++ b/board/toradex/colibri_vf50/colibri_vf50.c @@ -39,7 +39,7 @@ DECLARE_GLOBAL_DATA_PTR; #ifdef CONFIG_FSL_ESDHC -struct fsl_esdhc_cfg esdhc_cfg[1] = { +struct fsl_esdhc_cfg esdhc_cfg[] = { {CONFIG_SYS_ESDHC1_BASE, 1}, }; #endif @@ -386,7 +386,7 @@ int board_mmc_getcd(struct mmc *mmc) int board_mmc_init(bd_t *bis) { - u32 index; + u32 index = 0; s32 status = 0; status |= fsl_esdhc_initialize(bis, &esdhc_cfg[index]); |