arm64: mmu: Fix SMEM_PARTITION_ALIGN define

In the linker script SMEM_PARTITION_ALIGN is being redefined to be the
same as MMU_ALIGN. The problem is that SMEM_PARTITION_ALIGN __must__
take a parameter in input because this is being used by the
scripts/gen_app_partitions.py script passing a parameter as input.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
Carlo Caione 2020-10-14 11:14:24 +02:00 committed by Andrew Boie
commit 7ca246834c

View file

@ -224,7 +224,7 @@ SECTIONS
#if defined(CONFIG_USERSPACE) #if defined(CONFIG_USERSPACE)
#define APP_SHARED_ALIGN . = ALIGN(_region_min_align); #define APP_SHARED_ALIGN . = ALIGN(_region_min_align);
#define SMEM_PARTITION_ALIGN MMU_ALIGN #define SMEM_PARTITION_ALIGN(size) MMU_ALIGN
#include <app_smem.ld> #include <app_smem.ld>