]> git.baikalelectronics.ru Git - arm-tf.git/commit
Juno: Read primary CPU MPID from SCC GPR_1
authorJuan Castillo <juan.castillo@arm.com>
Tue, 12 Aug 2014 16:24:30 +0000 (17:24 +0100)
committerSoby Mathew <soby.mathew@arm.com>
Thu, 21 Aug 2014 13:53:48 +0000 (14:53 +0100)
commit38af430af68002887129aaff990069cf3e2daf6a
treeb1ce17d5d1aad610167822b43e7c3736edc9e7d0
parentefafbc898e101a48bb3cb635514d7ee30b4c7f41
Juno: Read primary CPU MPID from SCC GPR_1

This patch removes the PRIMARY_CPU definition hardcoded in the
Juno port. Instead, the primary CPU is obtained at runtime by
reading the SCC General Purpose Register 1 (GPR_1), whose value
is copied by the SCP into shared memory during the boot process.

Change-Id: I3981daa92eb7142250712274cf7f655b219837f5
plat/juno/aarch64/bl1_plat_helpers.S
plat/juno/aarch64/plat_helpers.S
plat/juno/bl2_plat_setup.c
plat/juno/juno_def.h