diff options
author | Samuel Holland <samuel@sholland.org> | 2021-01-24 16:24:12 -0600 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2021-01-24 17:15:43 -0600 |
commit | ed267c92ad46229394323f21d0e431d7c05f5342 (patch) | |
tree | a1a74d85f60198ad5cba1abafcaaa1af77ffba1c /plat | |
parent | 814dce8f96fdb82d095b0041a204ba4a272c0913 (diff) | |
download | trusted-firmware-a-ed267c92ad46229394323f21d0e431d7c05f5342.tar.gz |
allwinner: Leave CPU power alone during BL31 setup
Disabling secondary CPUs during boot is unnecessary because the other
CPUs are already in reset, and it saves an entirely insignificant amount
of power. Let's remove this bit of code that was added mostly "because
we can", and along with it remove an unconditional dependency on the CPU
ops functions.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Change-Id: Ia77a1b722da6ba989c3992b656a6cde3f2238fd7
Diffstat (limited to 'plat')
-rw-r--r-- | plat/allwinner/common/sunxi_bl31_setup.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plat/allwinner/common/sunxi_bl31_setup.c b/plat/allwinner/common/sunxi_bl31_setup.c index 9c8eaa4093..b619b18eda 100644 --- a/plat/allwinner/common/sunxi_bl31_setup.c +++ b/plat/allwinner/common/sunxi_bl31_setup.c @@ -100,9 +100,6 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1, bl33_image_ep_info.spsr = SPSR_64(MODE_EL2, MODE_SP_ELX, DISABLE_ALL_EXCEPTIONS); SET_SECURITY_STATE(bl33_image_ep_info.h.attr, NON_SECURE); - - /* Turn off all secondary CPUs */ - sunxi_disable_secondary_cpus(read_mpidr()); } void bl31_plat_arch_setup(void) |