diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-08-15 04:37:45 +0200 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2015-05-21 00:08:44 +0200 |
commit | ed5cd8163da8d3e02ef83b84e42d555d40bab96a (patch) | |
tree | c316c3a4108dc4fabb4b600d5c7a09b6e6d08b84 /arch/arm/mach-bcm/Makefile | |
parent | ARM: vfp: Add vfp_disable for problematic platforms (diff) | |
download | linux-ed5cd8163da8d3e02ef83b84e42d555d40bab96a.tar.xz linux-ed5cd8163da8d3e02ef83b84e42d555d40bab96a.zip |
ARM: BCM63xx: Add SMP support for BCM63138
Add support for booting the secondary CPU on BCM63138, this involves:
- locating the bootlut to write the reset vector
- powering up the second CPU when we need to using the DT-supplied PMB
references
- disabling VFP when enabled such that we can keep having SMP
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/mach-bcm/Makefile')
-rw-r--r-- | arch/arm/mach-bcm/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-bcm/Makefile b/arch/arm/mach-bcm/Makefile index 4c38674c73ec..55d3a1213876 100644 --- a/arch/arm/mach-bcm/Makefile +++ b/arch/arm/mach-bcm/Makefile @@ -38,7 +38,12 @@ obj-$(CONFIG_ARCH_BCM2835) += board_bcm2835.o obj-$(CONFIG_ARCH_BCM_5301X) += bcm_5301x.o # BCM63XXx -obj-$(CONFIG_ARCH_BCM_63XX) := bcm63xx.o +ifeq ($(CONFIG_ARCH_BCM_63XX),y) +CFLAGS_bcm63xx_headsmp.o += -march=armv7-a +obj-y += bcm63xx.o +obj-$(CONFIG_SMP) += bcm63xx_smp.o bcm63xx_headsmp.o \ + bcm63xx_pmb.o +endif ifeq ($(CONFIG_ARCH_BRCMSTB),y) CFLAGS_platsmp-brcmstb.o += -march=armv7-a |