diff options
author | Jorge Ramirez-Ortiz <jorge@foundries.io> | 2021-10-13 07:34:29 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome@forissier.org> | 2021-11-08 10:13:23 +0100 |
commit | 3f32e62a551131e552ea1e38e7ca59ed069bfa6d (patch) | |
tree | 12277eeae9d6f4909e57e5ba3fb0e6a607efc779 /core | |
parent | 4707e265a8a74a3ac97e955ae6028b73516bcd94 (diff) |
zynqmp: define the STACK_ALIGNMENT in terms of CACHELINE
Explicitily define the cache line length
Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/arch/arm/plat-zynqmp/platform_config.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/arch/arm/plat-zynqmp/platform_config.h b/core/arch/arm/plat-zynqmp/platform_config.h index df79c294..5e6fe34c 100644 --- a/core/arch/arm/plat-zynqmp/platform_config.h +++ b/core/arch/arm/plat-zynqmp/platform_config.h @@ -32,7 +32,8 @@ #include <mm/generic_ram_layout.h> /* Make stacks aligned to data cache line length */ -#define STACK_ALIGNMENT 64 +#define CACHELINE_LEN 64 +#define STACK_ALIGNMENT CACHELINE_LEN #ifdef CFG_WITH_PAGER #error "Pager not supported for zynqmp" |