[U-Boot] [PATCH v3 1/4] mmc: mvebu: Remove unused MMC_CAP.. macros

Michal Simek michal.simek at xilinx.com
Tue Jun 25 11:39:01 UTC 2019


From: T Karthik Reddy <t.karthik.reddy at xilinx.com>

Removed MMC_CAP_NONREMOVABLE, MMC_CAP_NEEDS_POLL macros from
mvebu_mmc.h to avoid redefining of these macros when compiled with
mvebu based configs.

Signed-off-by: T Karthik Reddy <t.karthik.reddy at xilinx.com>
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

Changes in v3:
- New patch in this series to release macros

Changes in v2: None

 include/mvebu_mmc.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/mvebu_mmc.h b/include/mvebu_mmc.h
index d51b1fe4670e..7397165f67f6 100644
--- a/include/mvebu_mmc.h
+++ b/include/mvebu_mmc.h
@@ -222,13 +222,9 @@
 #define MMC_CAP_SDIO_IRQ			(1 << 3)
 /* Talks only SPI protocols */
 #define MMC_CAP_SPI				(1 << 4)
-/* Needs polling for card-detection */
-#define MMC_CAP_NEEDS_POLL			(1 << 5)
 /* Can the host do 8 bit transfers */
 #define MMC_CAP_8_BIT_DATA			(1 << 6)
 
-/* Nonremovable e.g. eMMC */
-#define MMC_CAP_NONREMOVABLE			(1 << 8)
 /* Waits while card is busy */
 #define MMC_CAP_WAIT_WHILE_BUSY			(1 << 9)
 /* Allow erase/trim commands */
-- 
2.17.1



More information about the U-Boot mailing list