ARM: Fix issue with with way MPIDR is read to include affinity levels.
authorMatt Evans <Matt.Evans@arm.com>
Fri, 7 Sep 2012 19:20:53 +0000 (14:20 -0500)
committerMatt Evans <Matt.Evans@arm.com>
Fri, 7 Sep 2012 19:20:53 +0000 (14:20 -0500)
commit25c1933ffe7943b057056f9c9822001443ceb4e8
treefe9a430a57b9c77147d07f0e9b885e57646b6017
parent5217d5a451322199b4165ee0293ed2681dae5da3
ARM: Fix issue with with way MPIDR is read to include affinity levels.

The simple_bootloader checks for CPU0 in a manner incompatible with systems
actually using affinity levels -- just looking at MPIDR[7:0].  However, in
future we may wish to use real affinity levels and this method will be in danger
of matching several CPUs with affinity0 = 0.

Match affinity2 == affinity1 == affinity0 == 0 instead.
system/arm/simple_bootloader/simple.S