ARM: BCM: modify Broadcom CPU enable method
authorChris Brand <chris.brand@broadcom.com>
Thu, 28 Apr 2016 17:59:59 +0000 (10:59 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Tue, 31 May 2016 17:56:08 +0000 (10:56 -0700)
commit6585cb5a1341cbc5dfcf99a9b4ebda338b03657e
tree451d80b572f6feaeef5b0a0f8cd6cfe1b7fa2e21
parentf302b57ab0e5ff91a2e90cd1d2b84a27d8d95824
ARM: BCM: modify Broadcom CPU enable method

Commit 84320e1a635fcf90cff4185f029ce9e31bf1d4a7
("ARM: BCM: Clean up SMP support for Broadcom Kona") moved the
"secondary-boot-reg" property from the "cpus" node to the individual "cpu"
nodes but negelected to actually support multiple "secondary-boot-reg"
properties.

This patchset rectifies that omission. Note that the behaviour is changed
slightly in that the "secondary-boot-reg" property is now read in
smp_boot_secondary() rather than smp_prepare_cpus(). This means that any
omissions will now only be reported when and if the cpu in question is being
brought up. It also means that an omission for one cpu will not force
uniprocessor mode.

Signed-off-by: Chris Brand <chris.brand@broadcom.com>
Reviewed-and-Tested-by: Jon Mason <jon.mason@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/mach-bcm/platsmp.c