* [PATCH] mmc: resolve conflict between MMC_CAP_NONREMOVABLE and MMC_CAP_1_8V_DDR
@ 2026-01-07 1:12 zhengxiaojun
2026-01-07 7:45 ` Sascha Hauer
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: zhengxiaojun @ 2026-01-07 1:12 UTC (permalink / raw)
To: barebox
Resolve conflict between MMC_CAP_NONREMOVABLE and MMC_CAP_1_8V_DDR.
Signed-off-by: zhengxiaojun <zheng.xiaojun at foxmail.com>
---
include/mci.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/mci.h b/include/mci.h
index 3db33f9142..50214aaae7 100644
--- a/include/mci.h
+++ b/include/mci.h
@@ -58,7 +58,7 @@
#define MMC_CAP_1_2V_DDR (1 << 9) /* Host supports eMMC DDR 1.2V */
#define MMC_CAP_DDR (MMC_CAP_3_3V_DDR | MMC_CAP_1_8V_DDR | \
MMC_CAP_1_2V_DDR)
-#define MMC_CAP_NONREMOVABLE (1 << 8) /* Nonremovable e.g.eMMC */
+#define MMC_CAP_NONREMOVABLE (1 << 10) /* Nonremovable e.g. eMMC */
#define MMC_CAP_UHS_SDR12 (1 << 16) /* Host supports UHS SDR12 mode */
#define MMC_CAP_UHS_SDR25 (1 << 17) /* Host supports UHS SDR25 mode */
#define MMC_CAP_UHS_SDR50 (1 << 18) /* Host supports UHS SDR50 mode */
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mmc: resolve conflict between MMC_CAP_NONREMOVABLE and MMC_CAP_1_8V_DDR
2026-01-07 1:12 [PATCH] mmc: resolve conflict between MMC_CAP_NONREMOVABLE and MMC_CAP_1_8V_DDR zhengxiaojun
@ 2026-01-07 7:45 ` Sascha Hauer
2026-01-07 7:45 ` Sascha Hauer
2026-01-07 9:43 ` Ahmad Fatoum
2 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2026-01-07 7:45 UTC (permalink / raw)
To: barebox, zhengxiaojun
On Wed, 07 Jan 2026 09:12:50 +0800, zhengxiaojun wrote:
> Resolve conflict between MMC_CAP_NONREMOVABLE and MMC_CAP_1_8V_DDR.
>
>
Applied, thanks!
[1/1] mmc: resolve conflict between MMC_CAP_NONREMOVABLE and MMC_CAP_1_8V_DDR
https://git.pengutronix.de/cgit/barebox/commit/?id=cf4a68050d63 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mmc: resolve conflict between MMC_CAP_NONREMOVABLE and MMC_CAP_1_8V_DDR
2026-01-07 1:12 [PATCH] mmc: resolve conflict between MMC_CAP_NONREMOVABLE and MMC_CAP_1_8V_DDR zhengxiaojun
2026-01-07 7:45 ` Sascha Hauer
@ 2026-01-07 7:45 ` Sascha Hauer
2026-01-07 9:43 ` Ahmad Fatoum
2 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2026-01-07 7:45 UTC (permalink / raw)
To: zhengxiaojun; +Cc: barebox
On Wed, Jan 07, 2026 at 09:12:50AM +0800, zhengxiaojun wrote:
> Resolve conflict between MMC_CAP_NONREMOVABLE and MMC_CAP_1_8V_DDR.
>
> Signed-off-by: zhengxiaojun <zheng.xiaojun at foxmail.com>
Added while applying:
Fixes: a382be0b4f ("mci: add option to detect non-removable cards during startup")
Sascha
> ---
> include/mci.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/mci.h b/include/mci.h
> index 3db33f9142..50214aaae7 100644
> --- a/include/mci.h
> +++ b/include/mci.h
> @@ -58,7 +58,7 @@
> #define MMC_CAP_1_2V_DDR (1 << 9) /* Host supports eMMC DDR 1.2V */
> #define MMC_CAP_DDR (MMC_CAP_3_3V_DDR | MMC_CAP_1_8V_DDR | \
> MMC_CAP_1_2V_DDR)
> -#define MMC_CAP_NONREMOVABLE (1 << 8) /* Nonremovable e.g.eMMC */
> +#define MMC_CAP_NONREMOVABLE (1 << 10) /* Nonremovable e.g. eMMC */
> #define MMC_CAP_UHS_SDR12 (1 << 16) /* Host supports UHS SDR12 mode */
> #define MMC_CAP_UHS_SDR25 (1 << 17) /* Host supports UHS SDR25 mode */
> #define MMC_CAP_UHS_SDR50 (1 << 18) /* Host supports UHS SDR50 mode */
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mmc: resolve conflict between MMC_CAP_NONREMOVABLE and MMC_CAP_1_8V_DDR
2026-01-07 1:12 [PATCH] mmc: resolve conflict between MMC_CAP_NONREMOVABLE and MMC_CAP_1_8V_DDR zhengxiaojun
2026-01-07 7:45 ` Sascha Hauer
2026-01-07 7:45 ` Sascha Hauer
@ 2026-01-07 9:43 ` Ahmad Fatoum
2 siblings, 0 replies; 4+ messages in thread
From: Ahmad Fatoum @ 2026-01-07 9:43 UTC (permalink / raw)
To: zheng.xiaojun, barebox
Hi,
On 1/7/26 2:12 AM, zhengxiaojun wrote:
> Resolve conflict between MMC_CAP_NONREMOVABLE and MMC_CAP_1_8V_DDR.
>
> Signed-off-by: zhengxiaojun <zheng.xiaojun at foxmail.com>
For the record, this fixes following warning I had observed on a
Rockchip RK3568 board:
mmc0: mci_send_ext_csd failed with -74
Thanks for the fix!
Ahmad
> ---
> include/mci.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/mci.h b/include/mci.h
> index 3db33f9142..50214aaae7 100644
> --- a/include/mci.h
> +++ b/include/mci.h
> @@ -58,7 +58,7 @@
> #define MMC_CAP_1_2V_DDR (1 << 9) /* Host supports eMMC DDR
> 1.2V */
> #define MMC_CAP_DDR (MMC_CAP_3_3V_DDR | MMC_CAP_1_8V_DDR | \
> MMC_CAP_1_2V_DDR)
> -#define MMC_CAP_NONREMOVABLE (1 << 8) /* Nonremovable e.g.eMMC */
> +#define MMC_CAP_NONREMOVABLE (1 << 10) /* Nonremovable e.g. eMMC */
> #define MMC_CAP_UHS_SDR12 (1 << 16) /* Host supports UHS SDR12
> mode */
> #define MMC_CAP_UHS_SDR25 (1 << 17) /* Host supports UHS SDR25
> mode */
> #define MMC_CAP_UHS_SDR50 (1 << 18) /* Host supports UHS SDR50
> mode */
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-01-07 9:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-07 1:12 [PATCH] mmc: resolve conflict between MMC_CAP_NONREMOVABLE and MMC_CAP_1_8V_DDR zhengxiaojun
2026-01-07 7:45 ` Sascha Hauer
2026-01-07 7:45 ` Sascha Hauer
2026-01-07 9:43 ` Ahmad Fatoum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox