commit | 094f19c5274b758a243158f69367626049f283e5 | [log] [tgz] |
---|---|---|
author | Clément Léger <clement.leger@bootlin.com> | Wed Aug 04 16:55:44 2021 +0200 |
committer | Eugen Hristev <eugen.hristev@microchip.com> | Tue Sep 21 10:05:37 2021 +0300 |
tree | 84569872e8c283bdf2e4959004ae84240a7d5e2c | |
parent | b8ccd77193788596c23196d6fe40831f12f2e0f1 [diff] |
ARM: mach-at91: armv7: fix multiple cpu_reset definition when enabling SYSRESET 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_PSCI for instance on this platform. Signed-off-by: Clément Léger <clement.leger@bootlin.com>