diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-04-15 14:40:37 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-04-18 17:11:51 -0400 |
commit | 724219a65f55894413c098be06263960c399c323 (patch) | |
tree | 99b5ada16af20b43d5945a4a5062b571737ffa08 /arch/m68k | |
parent | e1acaa67679ebdb9caf4f1bf9a6f3ec8ebebf91b (diff) | |
download | u-boot-imx-724219a65f55894413c098be06263960c399c323.zip u-boot-imx-724219a65f55894413c098be06263960c399c323.tar.gz u-boot-imx-724219a65f55894413c098be06263960c399c323.tar.bz2 |
ARM: always perform per-CPU GIC init
The current code in ARMv8's lowlevel_init() skips the per-CPU GIC
initialization ifndef CONFIG_ARMV8_MULTIENTRY. However, the per-CPU init
should always occur; it's just the one-time init that should only happen
on the master.
Once this consideration is taken into account, the only difference between
the paths when CONFIG_ARMV8_MULTIENTRY is undefined/defined is the use of
branch_if_slave. Naively, any unified code would need to invoke this
conditionally upon ifdef CONFIG_ARMV8_MULTIENTRY. However, branch_if_slave
already checks CONFIG_ARMV8_MULTIENTRY and does nothing if it isn't
defined, so we don't even need that ifdef at the call site.
Reported-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions