[PATCH v2] powerpc/setup_{32, 64}.c: remove unneeded boot_cpuid{, _phys}

Scott Wood scottwood at freescale.com
Wed Dec 21 06:27:55 EST 2011


On 12/20/2011 12:44 PM, McClintock Matthew-B29882 wrote:
> On Fri, Dec 16, 2011 at 3:29 PM, Scott Wood <scottwood at freescale.com> wrote:
>> It would be nice if we could eliminate all usage of the boot cpu dtb
>> field -- it's easy to forget to set it, especially if you're not making
>> an AMP config.  The default -1 means this patch would break booting with
>> such a tree.
> 
> I can add a check here to see if the boot cpu in the device tree is -1
> to assume this is the boot cpu in addition to the boot cpu matching
> the PIR. 

Won't that break on secondaries with a -1 dtb?

-Scott



More information about the Linuxppc-dev mailing list