xilinx: Remove platform specific dependency from IPI function
authorJolly Shah <jollys@xilinx.com>
Tue, 8 Jan 2019 19:27:36 +0000 (11:27 -0800)
committerJolly Shah <jollys@xilinx.com>
Wed, 9 Jan 2019 20:12:18 +0000 (12:12 -0800)
commitb8e39f49e63478a9dd3832afc9084dd4a2ab15e2
treeb069537986d9cd9a88bc938d537bcdfcfc65a03c
parent703a5aacfa9ce9830ed5ae6b73964f895fcacea6
xilinx: Remove platform specific dependency from IPI function

ipi_mb function uses platform specific ipi configuration table.
These ipi_mb functions can be used for other Xilinx platform.
So, instead of using direct data structure, initialize IPI
configuration data by passing platform specific ipi table.
Macros are updated accordingly for this ipi table change.

This change is done so that ipi_mb functions can be moved to
common file without major changes. All common functions now would
be moved to common file in next patch.

Signed-off-by: Tejas Patel <tejas.patel@xilinx.com>
Reviewed-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Jolly Shah <jollys@xilinx.com>
plat/xilinx/zynqmp/include/plat_ipi.h
plat/xilinx/zynqmp/sip_svc_setup.c
plat/xilinx/zynqmp/zynqmp_ipi.c