diff options
author | Soby Mathew <soby.mathew@arm.com> | 2015-05-26 16:58:54 +0100 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2015-05-27 10:08:55 +0100 |
commit | 19af6fceaf039339f456d96b7a444b5d48217d77 (patch) | |
tree | 3a948425ab294ba4b1ae8e8bd6656d367b73bd34 /include | |
parent | c163ec455b9f7432a8f677b8d35981e6d11b39cb (diff) |
CSS: Extract primary cpu id using the correct bit width
This patch fixes the incorrect bit width used to extract the primary
cpu id from `ap_data` exported by scp at SCP_BOOT_CFG_ADDR in
platform_is_primary_cpu().
Change-Id: I14abb361685f31164ecce0755fc1a145903b27aa
Diffstat (limited to 'include')
-rw-r--r-- | include/plat/arm/css/common/css_def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/plat/arm/css/common/css_def.h b/include/plat/arm/css/common/css_def.h index 12a0550f..056c00df 100644 --- a/include/plat/arm/css/common/css_def.h +++ b/include/plat/arm/css/common/css_def.h @@ -69,7 +69,7 @@ /* SCP <=> AP boot configuration */ #define SCP_BOOT_CFG_ADDR 0x04000080 #define PRIMARY_CPU_SHIFT 8 -#define PRIMARY_CPU_MASK 0xf +#define PRIMARY_CPU_BIT_WIDTH 4 #define CSS_MAP_DEVICE MAP_REGION_FLAT( \ |