summaryrefslogtreecommitdiff
path: root/include/drivers/synopsys
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@linaro.org>2018-08-04 18:06:52 +0800
committerHaojian Zhuang <haojian.zhuang@linaro.org>2018-08-10 17:11:12 +0800
commit7a8b4830674d3d4f59035f5940fcb54a843e3069 (patch)
tree538a308c7ef33913097218db4a9a8f8a1c8a878e /include/drivers/synopsys
parentbd4e3deee9d72bfdb46d161eba62c6ae9d107855 (diff)
drivers/dw_mmc: migrate to mmc framework
Migrate dw_mmc driver from emmc framework to mmc framework. The emmc framework will be abandoned. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Diffstat (limited to 'include/drivers/synopsys')
-rw-r--r--include/drivers/synopsys/dw_mmc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/drivers/synopsys/dw_mmc.h b/include/drivers/synopsys/dw_mmc.h
index 4e6b348a..1ec8d1da 100644
--- a/include/drivers/synopsys/dw_mmc.h
+++ b/include/drivers/synopsys/dw_mmc.h
@@ -7,6 +7,8 @@
#ifndef __DW_MMC_H__
#define __DW_MMC_H__
+#include <mmc.h>
+
typedef struct dw_mmc_params {
uintptr_t reg_base;
uintptr_t desc_base;
@@ -16,6 +18,6 @@ typedef struct dw_mmc_params {
unsigned int flags;
} dw_mmc_params_t;
-void dw_mmc_init(dw_mmc_params_t *params);
+void dw_mmc_init(dw_mmc_params_t *params, struct mmc_device_info *info);
#endif /* __DW_MMC_H__ */