[PATCH] ARM: at91: fix soc detection for SAM9X60 SiPs

Claudiu.Beznea at microchip.com Claudiu.Beznea at microchip.com
Tue Jun 28 06:38:10 PDT 2022


On 16.06.2022 11:13, Claudiu Beznea wrote:
> From: Mihai Sain <mihai.sain at microchip.com>
> 
> Fix SoC detection for SAM9X60 SiPs:
> SAM9X60D5M
> SAM9X60D1G
> SAM9X60D6K
> 
> Fixes: af3a10513cd6 ("drivers: soc: atmel: add per soc id and version match masks")
> Signed-off-by: Mihai Sain <mihai.sain at microchip.com>
> Signed-off-by: Claudiu Beznea <claudiu.beznea at microchip.com>

Applied to at91-fixes. Thanks!

> ---
>  drivers/soc/atmel/soc.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/soc/atmel/soc.c b/drivers/soc/atmel/soc.c
> index b2d365ae0282..dae8a2e0f745 100644
> --- a/drivers/soc/atmel/soc.c
> +++ b/drivers/soc/atmel/soc.c
> @@ -91,14 +91,14 @@ static const struct at91_soc socs[] __initconst = {
>  	AT91_SOC(SAM9X60_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
>  		 AT91_CIDR_VERSION_MASK, SAM9X60_EXID_MATCH,
>  		 "sam9x60", "sam9x60"),
> -	AT91_SOC(SAM9X60_CIDR_MATCH, SAM9X60_D5M_EXID_MATCH,
> -		 AT91_CIDR_VERSION_MASK, SAM9X60_EXID_MATCH,
> +	AT91_SOC(SAM9X60_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
> +		 AT91_CIDR_VERSION_MASK, SAM9X60_D5M_EXID_MATCH,
>  		 "sam9x60 64MiB DDR2 SiP", "sam9x60"),
> -	AT91_SOC(SAM9X60_CIDR_MATCH, SAM9X60_D1G_EXID_MATCH,
> -		 AT91_CIDR_VERSION_MASK, SAM9X60_EXID_MATCH,
> +	AT91_SOC(SAM9X60_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
> +		 AT91_CIDR_VERSION_MASK, SAM9X60_D1G_EXID_MATCH,
>  		 "sam9x60 128MiB DDR2 SiP", "sam9x60"),
> -	AT91_SOC(SAM9X60_CIDR_MATCH, SAM9X60_D6K_EXID_MATCH,
> -		 AT91_CIDR_VERSION_MASK, SAM9X60_EXID_MATCH,
> +	AT91_SOC(SAM9X60_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
> +		 AT91_CIDR_VERSION_MASK, SAM9X60_D6K_EXID_MATCH,
>  		 "sam9x60 8MiB SDRAM SiP", "sam9x60"),
>  #endif
>  #ifdef CONFIG_SOC_SAMA5



More information about the linux-arm-kernel mailing list