mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
committed by
Peng Fan
parent
e3a14b6684
commit
86a94e7b2b
@@ -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)
|
||||
|
Reference in New Issue
Block a user