i.MX51: Added helper for SDHC3 registration.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
a0c76b0d7c
commit
12179b4c91
|
@ -57,6 +57,11 @@ static inline struct device_d *imx51_add_mmc1(struct esdhc_platform_data *pdata)
|
|||
return imx_add_esdhc((void *)MX51_MMC_SDHC2_BASE_ADDR, 1, pdata);
|
||||
}
|
||||
|
||||
static inline struct device_d *imx51_add_mmc2(struct esdhc_platform_data *pdata)
|
||||
{
|
||||
return imx_add_esdhc((void *)MX51_MMC_SDHC3_BASE_ADDR, 2, pdata);
|
||||
}
|
||||
|
||||
static inline struct device_d *imx51_add_nand(struct imx_nand_platform_data *pdata)
|
||||
{
|
||||
struct resource res[] = {
|
||||
|
|
Loading…
Reference in New Issue