diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2017-09-21 16:30:13 +0200 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2018-01-12 18:11:04 +0900 |
commit | 9215ef5ed508b5de8b0c021a87b76f74561d1bad (patch) | |
tree | d7ccc1d52073fc0a52d05ed903df8ca3fa0081ee /include/mmc.h | |
parent | 9815e3ba807ddf395631be35629498e55af02fa0 (diff) | |
download | u-boot-9215ef5ed508b5de8b0c021a87b76f74561d1bad.tar.gz u-boot-9215ef5ed508b5de8b0c021a87b76f74561d1bad.tar.bz2 u-boot-9215ef5ed508b5de8b0c021a87b76f74561d1bad.zip |
dm: mmc: Add a library function to parse generic dt binding
Add a new function to parse host controller dt node and
set mmc_config. This function can be used by mmc controller
drivers to set the generic mmc_config.
This function can be extended to set other UHS mode caps
once UHS mode support is added.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Diffstat (limited to 'include/mmc.h')
-rw-r--r-- | include/mmc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h index 79be6b4bc3..6230a32823 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -651,6 +651,7 @@ int mmc_unbind(struct udevice *dev); int mmc_initialize(bd_t *bis); int mmc_init(struct mmc *mmc); int mmc_send_tuning(struct mmc *mmc, u32 opcode, int *cmd_error); +int mmc_of_parse(const void *fdt, int node, struct mmc_config *cfg); int mmc_read(struct mmc *mmc, u64 src, uchar *dst, int size); /** |