Hi, Versal and ZynqMP are using the same firmware interface that's why some synchronization should be done. Still there are zynqmp_mmio_read/write which should be converted. Patches are done in steps for easier reviewing.
Thanks, Michal Changes in v2: - Fix smc calling from mini configurations cpu.c Michal Simek (4): arm64: versal: Clean pm_api_id usage arm64: xilinx: Move firmware functions from platform to driver arm64: versal: Rename versal_pm_request to xilinx_pm_request arm64: zynqmp: Convert invoke_smc() to xilinx_pm_request() arch/arm/mach-versal/cpu.c | 25 -------- arch/arm/mach-versal/include/mach/sys_proto.h | 58 ------------------- arch/arm/mach-zynqmp/cpu.c | 51 +++++----------- arch/arm/mach-zynqmp/include/mach/sys_proto.h | 2 - board/xilinx/zynqmp/cmds.c | 4 +- drivers/clk/clk_versal.c | 15 ++--- drivers/firmware/firmware-zynqmp.c | 33 ++++++++++- drivers/fpga/versalpl.c | 3 +- drivers/fpga/zynqmppl.c | 16 ++--- include/zynqmp_firmware.h | 54 ++++++++++++++++- 10 files changed, 117 insertions(+), 144 deletions(-) -- 2.17.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot