dm: mmc: omap_hsmmc: Update to support of-platdata

This is to aid platforms that uses OF_PLATDATA.

Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
Lokesh Vutla
2017-04-26 13:37:05 +05:30
committed by Tom Rini
parent a52cf086ac
commit 2558c04906
2 changed files with 23 additions and 10 deletions

View File

@@ -25,6 +25,8 @@
#ifndef OMAP_MMC_H_
#define OMAP_MMC_H_
#include <mmc.h>
struct hsmmc {
unsigned char res1[0x10];
unsigned int sysconfig; /* 0x10 */
@@ -49,6 +51,13 @@ struct hsmmc {
unsigned int capa; /* 0x140 */
};
struct omap_hsmmc_plat {
struct mmc_config cfg;
struct hsmmc *base_addr;
struct mmc mmc;
bool cd_inverted;
};
/*
* OMAP HS MMC Bit definitions
*/