ARM: at-91: ARCH_AT91SAM9X5 went missing

Nicolas Ferre nicolas.ferre at atmel.com
Thu Mar 14 04:30:16 EDT 2013


On 03/14/2013 09:17 AM, Paul Bolle :
> On Wed, 2013-03-13 at 13:26 +0100, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
>> but the ARCH_AT91SAM9x5 never exist at the mainline
> 
> I'm not sure I understand this.
> 
> We're discussing the effects of commit
> 1e3ce2b8545390a2aee8dbfcd49ca4161b636000 ("AR[M]: at91: introduce
> SOC_AT91xxx define to allow to compile SoC core support") here. It did
> remove ARCH_AT91SAM9X5:
>     $ git show 1e3ce2b8545390a2aee8dbfcd49ca4161b636000 | grep ARCH_AT91SAM9X5
>     -config ARCH_AT91SAM9X5
>     @@ -93,8 +91,47 @@ config ARCH_AT91SAM9X5
>     -obj-$(CONFIG_ARCH_AT91SAM9X5)	+= at91sam9x5.o
>     -#ifdef CONFIG_ARCH_AT91SAM9X5
>     -#if !defined(CONFIG_ARCH_AT91SAM9X5)
> 
> It also added SOC_AT91SAM9X5, and that symbol even triggers the
> compilation of a file named at91sam9x5.c:
>     $ git show 1e3ce2b8545390a2aee8dbfcd49ca4161b636000 | grep SOC_AT91SAM9X5
>     +config SOC_AT91SAM9X5
>     +obj-$(CONFIG_SOC_AT91SAM9X5)	+= at91sam9x5.o
>     +#ifdef CONFIG_SOC_AT91SAM9X5
>     +#if !defined(CONFIG_SOC_AT91SAM9X5)
> 
> And also note that ARCH_AT91SAM9X5 still is used as an (optional) dependency:
>     $ git grep -n ARCH_AT91SAM9X5 v3.9-rc2
>     v3.9-rc2:drivers/net/can/Kconfig:68:    depends on ARCH_AT91SAM9263 || ARCH_AT91SAM9X5

Which is removed by patch:
"[PATCH v2 2/2] can: Kconfig: CAN_AT91 depends on ARM"

It should appear in CAN git tree soon.

Best regards,
-- 
Nicolas Ferre



More information about the linux-arm-kernel mailing list