Re: [PATCH] ARM: mach-at91: fix multiple cpu_reset definition when enabling SYSRESET

2021-08-25 Thread Clément Léger
Le Tue, 24 Aug 2021 09:51:24 +, a écrit : > On 8/24/21 12:37 PM, Clément Léger wrote: > > Le Mon, 23 Aug 2021 07:42:58 +, > > a écrit : > > > >> On 8/4/21 5:55 PM, Clément Léger wrote: > >>> When SYSRESET is enabled, cpu_reset function is also defined in > >>> sysreset-uclass.c whic

Re: [PATCH] ARM: mach-at91: fix multiple cpu_reset definition when enabling SYSRESET

2021-08-24 Thread Eugen.Hristev
On 8/24/21 12:37 PM, Clément Léger wrote: > Le Mon, 23 Aug 2021 07:42:58 +, > a écrit : > >> On 8/4/21 5:55 PM, Clément Léger wrote: >>> When SYSRESET is enabled, cpu_reset function is also defined in >>> sysreset-uclass.c which lead to multiple definitions of this >>> function since reset.c

Re: [PATCH] ARM: mach-at91: fix multiple cpu_reset definition when enabling SYSRESET

2021-08-24 Thread Clément Léger
Le Mon, 23 Aug 2021 07:42:58 +, a écrit : > On 8/4/21 5:55 PM, Clément Léger wrote: > > When SYSRESET is enabled, cpu_reset function is also defined in > > sysreset-uclass.c which lead to multiple definitions of this > > function since reset.c is build unconditionally. Add a check in > > Make

Re: [PATCH] ARM: mach-at91: fix multiple cpu_reset definition when enabling SYSRESET

2021-08-23 Thread Eugen.Hristev
On 8/4/21 5:55 PM, Clément Léger wrote: > When SYSRESET is enabled, cpu_reset function is also defined in > sysreset-uclass.c which lead to multiple definitions of this function > since reset.c is build unconditionally. Add a check in Makefile to build > this file only if SYSRESET isn't enabled. >

[PATCH] ARM: mach-at91: fix multiple cpu_reset definition when enabling SYSRESET

2021-08-04 Thread Clément Léger
When SYSRESET is enabled, cpu_reset function is also defined in sysreset-uclass.c which lead to multiple definitions of this function since reset.c is build unconditionally. Add a check in Makefile to build this file only if SYSRESET isn't enabled. SYSRESET can be enabled when building SYSRESET_PSC