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

Sascha Hauer sha at pengutronix.de
Wed Nov 15 05:05:07 PST 2023


On Tue, Nov 14, 2023 at 02:30:00PM +0100, Marco Felsch wrote:
> 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(-)

Applied, thanks

Sascha

> 
> 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
> 
> 
> 

-- 
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 |



More information about the barebox mailing list