فهرست منبع

am33xx/board: use cpu_mmc_init() for default mmc initialization

So platforms can override it with board_mmc_init() if needed.

Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
Peter Korsgaard 12 سال پیش
والد
کامیت
75a23880a5
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      arch/arm/cpu/armv7/am33xx/board.c

+ 2 - 2
arch/arm/cpu/armv7/am33xx/board.c

@@ -46,10 +46,10 @@ static const struct gpio_bank gpio_bank_am33xx[4] = {
 const struct gpio_bank *const omap_gpio_bank = gpio_bank_am33xx;
 
 #if defined(CONFIG_OMAP_HSMMC) && !defined(CONFIG_SPL_BUILD)
-int board_mmc_init(bd_t *bis)
+int cpu_mmc_init(bd_t *bis)
 {
 	int ret;
-	
+
 	ret = omap_mmc_init(0, 0, 0);
 	if (ret)
 		return ret;