From aec66c38c72a71cd1d37926c29ce08a25823bf89 Mon Sep 17 00:00:00 2001 From: Senthil Nathan Thangaraj Date: Thu, 20 Feb 2025 10:53:51 -0800 Subject: [PATCH] feat(versal2): add dependency macro for PM The pm_api_sys.c file has dependency on the PLAT_ARM_GICR_BASE macro. Add the macro to fix compilation error when PM is enabled. Change-Id: Ibd77dd38b4a2a55614064c4ed0b1096acc658a5c Signed-off-by: Naman Trivedi Signed-off-by: Senthil Nathan Thangaraj --- plat/amd/versal2/include/platform_def.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plat/amd/versal2/include/platform_def.h b/plat/amd/versal2/include/platform_def.h index 8f694f7ce..7c78b2c91 100644 --- a/plat/amd/versal2/include/platform_def.h +++ b/plat/amd/versal2/include/platform_def.h @@ -122,6 +122,8 @@ #define PLAT_GICD_BASE_VALUE U(0xE2000000) #define PLAT_GICR_BASE_VALUE U(0xE2060000) +#define PLAT_ARM_GICR_BASE PLAT_GICR_BASE_VALUE +#define PLAT_ARM_GICD_BASE PLAT_GICD_BASE_VALUE /* * Define a list of Group 1 Secure and Group 0 interrupts as per GICv3