apps: machine: zynqmp_r5: correct IPI setting. master
authorWendy Liang <jliang@xilinx.com>
Sat, 25 Feb 2017 06:15:26 +0000 (22:15 -0800)
committerWendy Liang <jliang@xilinx.com>
Sat, 25 Feb 2017 06:15:26 +0000 (22:15 -0800)
Correct IPI setting in platform_info

Signed-off-by: Wendy Liang <jliang@xilinx.com>
apps/machine/zynqmp_r5/platform_info.c

index 66aa3144c9c0b40be937c2833bd6ce456c997447..29849fa66392d4b06b94790de8491bf89a70aa02 100755 (executable)
@@ -90,7 +90,7 @@ struct hil_proc *platform_create_proc(int proc_index)
        hil_set_vring_ipi(proc, 0,
                IPI_IRQ_VECT_ID, (void *)&chn_ipi_info[0]);
        hil_set_vring_ipi(proc, 1,
-               IPI_IRQ_VECT_ID, (void *)&chn_ipi_info[1]);
+               IPI_IRQ_VECT_ID, (void *)&chn_ipi_info[0]);
 
        hil_set_rpmsg_channel(proc, 0, RPMSG_CHAN_NAME);
        return proc;