diff options
Diffstat (limited to 'arch/sh/lib/board.c')
| -rw-r--r-- | arch/sh/lib/board.c | 12 | 
1 files changed, 12 insertions, 0 deletions
| diff --git a/arch/sh/lib/board.c b/arch/sh/lib/board.c index 90fe796ef..6148e6baf 100644 --- a/arch/sh/lib/board.c +++ b/arch/sh/lib/board.c @@ -107,6 +107,15 @@ static int sh_net_init(void)  }  #endif +#if defined(CONFIG_CMD_MMC) +static int sh_mmc_init(void) +{ +	puts("MMC:   "); +	mmc_initialize(gd->bd); +	return 0; +} +#endif +  typedef int (init_fnc_t) (void);  init_fnc_t *init_sequence[] = @@ -138,6 +147,9 @@ init_fnc_t *init_sequence[] =  #if defined(CONFIG_CMD_NET)  	sh_net_init,		/* SH specific eth init */  #endif +#if defined(CONFIG_CMD_MMC) +	sh_mmc_init, +#endif  	NULL			/* Terminate this list */  }; |