[PATCH 1/8] mci: correct ENH_ATTRIBUTE_EN_MASK bit mask

Marco Felsch m.felsch at pengutronix.de
Tue Nov 14 05:30:00 PST 2023


From: LI Qingwu <Qing-wu.Li at leica-geosystems.com.cn>

Extended CSD register PARTITIONING_SUPPORT ENH_ATTRIBUTE_EN is bit 1
instead of 0

Signed-off-by: LI Qingwu <Qing-wu.Li at leica-geosystems.com.cn>
Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
---
 include/mci.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/mci.h b/include/mci.h
index 3e93f378e4a3..616c7c3cae5c 100644
--- a/include/mci.h
+++ b/include/mci.h
@@ -305,7 +305,7 @@
 #define EXT_CSD_ENH_USR_MASK		(1 << 0)
 
 /* register PARTITIONING_SUPPORT [160] */
-#define EXT_CSD_ENH_ATTRIBUTE_EN_MASK	(1 << 0)
+#define EXT_CSD_ENH_ATTRIBUTE_EN_MASK	(1 << 1)
 
 /* register BUS_WIDTH [183], field Bus Mode Selection [4:0] */
 #define EXT_CSD_BUS_WIDTH_1	0	/* Card is in 1 bit mode */
-- 
2.39.2




More information about the barebox mailing list