Derive stack alignment from CACHE_WRITEBACK_GRANULE
The per-cpu stacks should be aligned to the cache-line size and
the `declare_stack` helper in asm_macros.S macro assumed a
cache-line size of 64 bytes. The platform defines the cache-line
size via CACHE_WRITEBACK_GRANULE macro. This patch modifies
`declare_stack` helper macro to derive stack alignment from the
platform defined macro.

Change-Id: I1e1b00fc8806ecc88190ed169f4c8d3dd25fe95b
1 parent 6f511c4 commit 663db206f85653f05c5f6adb577970cc4669a7ea
@Soby Mathew Soby Mathew authored on 9 Jun 2016
Showing 3 changed files
View
include/common/asm_macros.S
View
plat/common/aarch64/platform_mp_stack.S
View
plat/common/aarch64/platform_up_stack.S