mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-22 15:01:17 +02:00
fix(versal): sync location based on IPI_ID macros
IPI_ID_* macros available at include/plat_ipi.h are using PMC/APU/RPU0.. order which is not how versal_ipi_table array is composed. That's why swap APU and PMC to follow the same order as is described by macros. Change-Id: Ieaa3a967650e298e7cff45fafde0df96294c09fe Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
parent
15f49cb49d
commit
92a43bdf36
@ -20,16 +20,16 @@
|
|||||||
|
|
||||||
/* versal ipi configuration table */
|
/* versal ipi configuration table */
|
||||||
static const struct ipi_config versal_ipi_table[] = {
|
static const struct ipi_config versal_ipi_table[] = {
|
||||||
/* A72 IPI */
|
/* PMC IPI */
|
||||||
[IPI_ID_APU] = {
|
[IPI_ID_PMC] = {
|
||||||
.ipi_bit_mask = IPI0_TRIG_BIT,
|
.ipi_bit_mask = PMC_IPI_TRIG_BIT,
|
||||||
.ipi_reg_base = IPI0_REG_BASE,
|
.ipi_reg_base = IPI0_REG_BASE,
|
||||||
.secure_only = 0U,
|
.secure_only = 0U,
|
||||||
},
|
},
|
||||||
|
|
||||||
/* PMC IPI */
|
/* A72 IPI */
|
||||||
[IPI_ID_PMC] = {
|
[IPI_ID_APU] = {
|
||||||
.ipi_bit_mask = PMC_IPI_TRIG_BIT,
|
.ipi_bit_mask = IPI0_TRIG_BIT,
|
||||||
.ipi_reg_base = IPI0_REG_BASE,
|
.ipi_reg_base = IPI0_REG_BASE,
|
||||||
.secure_only = 0U,
|
.secure_only = 0U,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user