diff options
author | T Karthik Reddy <t.karthik.reddy@xilinx.com> | 2019-06-25 13:39:02 +0200 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2019-07-15 10:16:49 +0800 |
commit | 86a94e7b2b8cdf37138e2c5cef10193f6093a9bd (patch) | |
tree | 481e07107bc16d17c19cb98e361e4e4f7fccf5bf /include/mmc.h | |
parent | e3a14b6684bc591d0648e2bb8de383074ee81f43 (diff) | |
download | u-boot-86a94e7b2b8cdf37138e2c5cef10193f6093a9bd.tar.gz u-boot-86a94e7b2b8cdf37138e2c5cef10193f6093a9bd.tar.bz2 u-boot-86a94e7b2b8cdf37138e2c5cef10193f6093a9bd.zip |
mmc: Read sd card detect properties from DT
This patch reads card detect properties from device tree &
added mmc capability macros in mmc.h.
Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/mmc.h')
-rw-r--r-- | include/mmc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h index 1f30f71d25..2be3e91fcb 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -66,6 +66,10 @@ #define MMC_MODE_HS200 MMC_CAP(MMC_HS_200) #define MMC_MODE_HS400 MMC_CAP(MMC_HS_400) +#define MMC_CAP_NONREMOVABLE BIT(14) +#define MMC_CAP_NEEDS_POLL BIT(15) +#define MMC_CAP_CD_ACTIVE_HIGH BIT(16) + #define MMC_MODE_8BIT BIT(30) #define MMC_MODE_4BIT BIT(29) #define MMC_MODE_1BIT BIT(28) |