mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
ARM: shmobile: rcar-gen2: Stop compiling headsmp-apmu on !SMP
As of commit cad160ed0a
("ARM: shmobile: Convert file to use
cntvoff"), there's no non-SMP code left in headsmp-apmu.S.
Hence build the file for SMP only, and drop the no longer needed check
for CONFIG_SMP inside the file.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
c44e182e53
commit
23295aeebf
2 changed files with 1 additions and 3 deletions
|
@ -21,13 +21,13 @@ cpu-y := platsmp.o headsmp.o
|
||||||
# Shared SoC family objects
|
# Shared SoC family objects
|
||||||
obj-$(CONFIG_ARCH_RCAR_GEN2) += setup-rcar-gen2.o platsmp-apmu.o $(cpu-y)
|
obj-$(CONFIG_ARCH_RCAR_GEN2) += setup-rcar-gen2.o platsmp-apmu.o $(cpu-y)
|
||||||
CFLAGS_setup-rcar-gen2.o += -march=armv7-a
|
CFLAGS_setup-rcar-gen2.o += -march=armv7-a
|
||||||
obj-$(CONFIG_ARCH_RCAR_GEN2) += headsmp-apmu.o
|
|
||||||
obj-$(CONFIG_ARCH_R8A7790) += regulator-quirk-rcar-gen2.o
|
obj-$(CONFIG_ARCH_R8A7790) += regulator-quirk-rcar-gen2.o
|
||||||
obj-$(CONFIG_ARCH_R8A7791) += regulator-quirk-rcar-gen2.o
|
obj-$(CONFIG_ARCH_R8A7791) += regulator-quirk-rcar-gen2.o
|
||||||
obj-$(CONFIG_ARCH_R8A7793) += regulator-quirk-rcar-gen2.o
|
obj-$(CONFIG_ARCH_R8A7793) += regulator-quirk-rcar-gen2.o
|
||||||
|
|
||||||
# SMP objects
|
# SMP objects
|
||||||
smp-y := $(cpu-y)
|
smp-y := $(cpu-y)
|
||||||
|
smp-$(CONFIG_ARCH_RCAR_GEN2) += headsmp-apmu.o
|
||||||
smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o headsmp-scu.o platsmp-scu.o
|
smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o headsmp-scu.o platsmp-scu.o
|
||||||
smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o platsmp-scu.o
|
smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o platsmp-scu.o
|
||||||
smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o platsmp-scu.o
|
smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o platsmp-scu.o
|
||||||
|
|
|
@ -8,9 +8,7 @@
|
||||||
#include <linux/linkage.h>
|
#include <linux/linkage.h>
|
||||||
#include <asm/assembler.h>
|
#include <asm/assembler.h>
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
|
||||||
ENTRY(shmobile_boot_apmu)
|
ENTRY(shmobile_boot_apmu)
|
||||||
bl secure_cntvoff_init
|
bl secure_cntvoff_init
|
||||||
b secondary_startup
|
b secondary_startup
|
||||||
ENDPROC(shmobile_boot_apmu)
|
ENDPROC(shmobile_boot_apmu)
|
||||||
#endif
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue