Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/mach-imx/include/mach/devices-imx31.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-imx/include/mach/devices-imx31.h b/arch/arm/mach-imx/include/mach/devices-imx31.h index fe71930..5a24100 100644 --- a/arch/arm/mach-imx/include/mach/devices-imx31.h +++ b/arch/arm/mach-imx/include/mach/devices-imx31.h @@ -51,3 +51,13 @@ static inline struct device_d *imx31_add_fb(struct imx_ipu_fb_platform_data *pda { return imx_add_ipufb((void *)MX31_IPU_CTRL_BASE_ADDR, pdata); } + +static inline struct device_d *imx31_add_mmc0(void *pdata) +{ + return imx_add_mmc((void *)MX31_SDHC1_BASE_ADDR, 0, pdata); +} + +static inline struct device_d *imx31_add_mmc1(void *pdata) +{ + return imx_add_mmc((void *)MX31_SDHC2_BASE_ADDR, 1, pdata); +} -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox