[PATCH v2 1/5] mci: core: drop unused DDR/SDR constants

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Apr 18 02:30:36 PDT 2023


These macros are unused and will be replaced by their Linux counterparts
in a follow up patch, so drop them.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
v1 -> v2:
  - new patch
---
 include/mci.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/mci.h b/include/mci.h
index d356f071f7f2..c38567303241 100644
--- a/include/mci.h
+++ b/include/mci.h
@@ -420,12 +420,6 @@ struct mci_ios {
 #define MMC_BUS_WIDTH_8		3
 
 	enum mci_timing	timing;			/* timing specification used */
-
-#define MMC_SDR_MODE		0
-#define MMC_1_2V_DDR_MODE	1
-#define MMC_1_8V_DDR_MODE	2
-#define MMC_1_2V_SDR_MODE	3
-#define MMC_1_8V_SDR_MODE	4
 };
 
 struct mci;
-- 
2.39.2




More information about the barebox mailing list