[U-Boot] [PATCH 02/11] mmc: sdhci: add the get_cd callback function in sdhci_ops
Jaehoon Chung
jh80.chung at samsung.com
Fri Dec 30 07:30:12 CET 2016
Some SoCs can have their own card dect scheme.
Then they may use this get_cd callback function after implementing init
in their drivers.
Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
---
include/sdhci.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/sdhci.h b/include/sdhci.h
index 144570f..0c0f48f 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -235,6 +235,7 @@ struct sdhci_ops {
void (*write_w)(struct sdhci_host *host, u16 val, int reg);
void (*write_b)(struct sdhci_host *host, u8 val, int reg);
#endif
+ int (*get_cd)(struct sdhci_host *host);
};
struct sdhci_host {
--
2.10.2
More information about the U-Boot
mailing list