arm/xilinx-zynqmp-rpu: Correcting wrong macro

The ZYNQMP_RPU_CORE_INDEX macro is undefined in the code, making
BSP_ARM_GIC_MULTI_PROCESSOR_SECONDARY never being defined, which makes
the secondary core initialize GIC again. It should be changed to
ZYNQMP_RPU_SPLIT_INDEX.
This commit is contained in:
Joao Luiz Borges
2025-12-01 11:13:50 +00:00
committed by Joel Sherrill
parent 0cbfcf9817
commit 3adb189eff

View File

@@ -68,7 +68,7 @@ extern "C" {
#define BSP_ARM_GIC_DIST_BASE 0xF9000000
#if !defined(ZYNQMP_RPU_LOCK_STEP_MODE) && ZYNQMP_RPU_CORE_INDEX != 0
#if !defined(ZYNQMP_RPU_LOCK_STEP_MODE) && ZYNQMP_RPU_SPLIT_INDEX != 0
#define BSP_ARM_GIC_MULTI_PROCESSOR_SECONDARY
#endif