diff --git a/core/arch/arm/include/mm/generic_ram_layout.h b/core/arch/arm/include/mm/generic_ram_layout.h index b3e0ac393b3..367dd35760d 100644 --- a/core/arch/arm/include/mm/generic_ram_layout.h +++ b/core/arch/arm/include/mm/generic_ram_layout.h @@ -133,7 +133,7 @@ #endif #endif -#if defined(CFG_TZSRAM_START) +#if defined(CFG_WITH_PAGER) && defined(CFG_TZSRAM_START) #define TZSRAM_BASE CFG_TZSRAM_START #define TZSRAM_SIZE CFG_TZSRAM_SIZE #endif