mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-15 04:14:52 +08:00
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:
committed by
Joel Sherrill
parent
0cbfcf9817
commit
3adb189eff
@@ -68,7 +68,7 @@ extern "C" {
|
|||||||
|
|
||||||
#define BSP_ARM_GIC_DIST_BASE 0xF9000000
|
#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
|
#define BSP_ARM_GIC_MULTI_PROCESSOR_SECONDARY
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user