ID fix for mx51 SDHC2

Alexander Shiyan shc at milas.spb.ru
Tue Aug 30 04:43:27 EDT 2011


Hello.

Please review this patch.

diff -urN barebox-v2011.09.0.orig/arch/arm/mach-imx/include/mach/devices-imx51.h barebox-v2011.09.0/arch/arm/mach-imx/include/mach/devices-imx51.h
--- barebox-v2011.09.0.orig/arch/arm/mach-imx/include/mach/devices-imx51.h	2011-08-26 18:23:46.000000000 +0400
+++ barebox-v2011.09.0/arch/arm/mach-imx/include/mach/devices-imx51.h	2011-08-30 12:35:08.000000000 +0400
@@ -48,7 +48,7 @@

 static inline struct device_d *imx51_add_mmc1(void *pdata)
 {
-	return imx_add_esdhc((void *)MX51_MMC_SDHC2_BASE_ADDR, 0, pdata);
+	return imx_add_esdhc((void *)MX51_MMC_SDHC2_BASE_ADDR, 1, pdata);
 }

 static inline struct device_d *imx51_add_nand(struct imx_nand_platform_data *pdata)


More information about the barebox mailing list