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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user