]> git.sur5r.net Git - u-boot/commit
ARMv8: make master CPU checking logic more clear
authorzijun_hu <zijun_hu@htc.com>
Mon, 25 Sep 2017 07:28:50 +0000 (15:28 +0800)
committerTom Rini <trini@konsulko.com>
Sun, 8 Oct 2017 20:19:56 +0000 (16:19 -0400)
commit34f9a9258397b5430adfedd2bf2c6517eb468d29
tree0d2ff18a2a3052c2866c25f5d656237ff7eb46e5
parentb813908354f91f83c79991e67b98897c4caf0c81
ARMv8: make master CPU checking logic more clear

macro branch_if_master checks master CPU via (Aff3 & (Aff2:Aff1:Aff0))
it is simple but a little obscure.

fix by checking Affx fields within MPIDR_EL1 directly.

Signed-off-by: zijun_hu <zijun_hu@htc.com>
arch/arm/include/asm/macro.h