diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2013-12-02 15:57:09 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2013-12-12 16:06:48 +0000 |
commit | 93ca221c95cc71cab9222d594e0cc3d9f8e852bf (patch) | |
tree | 66fed1eea14a980c02d876a2c6df9487d48aca6a /bl31 | |
parent | 34edaed563e78081ce17ff1f682628c11d337bf2 (diff) | |
download | arm-trusted-firmware-93ca221c95cc71cab9222d594e0cc3d9f8e852bf.tar.gz |
Make BL31's ns_entry_info a single-cpu area
ns_entry_info used to be a per-cpu array. This is a waste of space
because it is only accessed by the primary CPU on the cold boot path.
This patch reduces ns_entry_info to a single-cpu area.
Change-Id: I647c70c4e76069560f1aaad37a1d5910f56fba4c
Diffstat (limited to 'bl31')
-rw-r--r-- | bl31/aarch64/bl31_entrypoint.S | 1 | ||||
-rw-r--r-- | bl31/bl31_main.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/bl31/aarch64/bl31_entrypoint.S b/bl31/aarch64/bl31_entrypoint.S index 2a4c979..79faf63 100644 --- a/bl31/aarch64/bl31_entrypoint.S +++ b/bl31/aarch64/bl31_entrypoint.S @@ -120,7 +120,6 @@ bl31_entrypoint:; .type bl31_entrypoint, %function */ mov x0, x20 mov x1, x21 - mov x2, x19 bl bl31_early_platform_setup bl bl31_plat_arch_setup diff --git a/bl31/bl31_main.c b/bl31/bl31_main.c index e20bb7b..d60f252 100644 --- a/bl31/bl31_main.c +++ b/bl31/bl31_main.c @@ -67,7 +67,7 @@ void bl31_main(void) /* Clean caches before re-entering normal world */ dcsw_op_all(DCCSW); - image_info = bl31_get_next_image_info(mpidr); + image_info = bl31_get_next_image_info(); bl31_arch_next_el_setup(); change_el(image_info); |