diff options
author | Jeenu Viswambharan <jeenu.viswambharan@arm.com> | 2014-01-07 10:20:48 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-03-10 14:17:58 +0000 |
commit | 92a12866e6ab01c284f7aff01818c65851880bfd (patch) | |
tree | 88f13bb90e4e456b05764f31f5d5c82fe20b75d1 | |
parent | 5cfa93d8d68320e790ebf464bbdc4c7a2197ff0d (diff) |
Remove unused 'CPU present' flag
This patch removes the 'CPU present' flag that's being set but not
referred or used anywhere else.
Change-Id: Iaf82bdb354134e0b33af16c7ba88eb2259b2682a
-rw-r--r-- | plat/fvp/aarch64/bl1_plat_helpers.S | 35 | ||||
-rw-r--r-- | plat/fvp/platform.h | 1 |
2 files changed, 0 insertions, 36 deletions
diff --git a/plat/fvp/aarch64/bl1_plat_helpers.S b/plat/fvp/aarch64/bl1_plat_helpers.S index e3cf5c8..c487f03 100644 --- a/plat/fvp/aarch64/bl1_plat_helpers.S +++ b/plat/fvp/aarch64/bl1_plat_helpers.S @@ -67,22 +67,6 @@ plat_secondary_cold_boot_setup: ; .type plat_secondary_cold_boot_setup, %functio mov x20, x0 /* --------------------------------------------- - * Mark this cpu as being present. This is a - * SO write. This array will be read using - * normal memory so invalidate any prefetched - * stale copies first. - * --------------------------------------------- - */ - ldr x1, =TZDRAM_BASE - mov x0, #AFFMAP_OFF - add x1, x0, x1 - mov x2, #PLATFORM_CACHE_LINE_SIZE - mul x2, x2, x20 - add x0, x1, x2 - bl dcivac - str x19, [x1, x2] - - /* --------------------------------------------- * Power down this cpu. * TODO: Do we need to worry about powering the * cluster down as well here. That will need @@ -207,25 +191,6 @@ platform_cold_boot_init: ; .type platform_cold_boot_init, %function bl platform_set_coherent_stack /* --------------------------------------------- - * Mark this cpu as being present. This is a - * SO write. Invalidate any stale copies out of - * paranoia as there is no one else around. - * --------------------------------------------- - */ - mov x0, x19 - bl platform_get_core_pos - mov x21, x0 - - ldr x1, =TZDRAM_BASE - mov x0, #AFFMAP_OFF - add x1, x0, x1 - mov x2, #PLATFORM_CACHE_LINE_SIZE - mul x2, x2, x21 - add x0, x1, x2 - bl dcivac - str x19, [x1, x2] - - /* --------------------------------------------- * Architectural init. can be generic e.g. * enabling stack alignment and platform spec- * ific e.g. MMU & page table setup as per the diff --git a/plat/fvp/platform.h b/plat/fvp/platform.h index 6b915a8..53f14aa 100644 --- a/plat/fvp/platform.h +++ b/plat/fvp/platform.h @@ -127,7 +127,6 @@ #define TZDRAM_BASE 0x06000000 #define TZDRAM_SIZE 0x02000000 #define MBOX_OFF 0x1000 -#define AFFMAP_OFF 0x1200 #define DRAM_BASE 0x80000000ull #define DRAM_SIZE 0x80000000ull |