Home
last modified time | relevance | path

Searched hist:e0752bc18422ec0dc93a770e96b1c2f44ee64ed7 (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/arch/arm/cpu/armv8/zynqmp/
H A Dcpu.ce0752bc18422ec0dc93a770e96b1c2f44ee64ed7 Wed Feb 01 19:40:46 UTC 2017 Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> arm64: zynqmp: Define routines for mmio write and read

Define routines of mmio write and read functionalities
for zynqmp platform.

Also do not call SMC from SPL because SPL is running before ATF in EL3
that's why SMCs can't be called because there is nothing to call.
zynqmp_mmio*() are doing direct read/write accesses and this patch does
the same. PMUFW is up and running at this time and there is a way to talk
to pmufw via IPI but there is no reason to implement IPI stuff in SPL if
we need just simple read for getting clock driver to work.

Also make invoke_smc as global so that it can be reused in
multile places where ever possible.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-zynqmp/
H A Dsys_proto.he0752bc18422ec0dc93a770e96b1c2f44ee64ed7 Wed Feb 01 19:40:46 UTC 2017 Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> arm64: zynqmp: Define routines for mmio write and read

Define routines of mmio write and read functionalities
for zynqmp platform.

Also do not call SMC from SPL because SPL is running before ATF in EL3
that's why SMCs can't be called because there is nothing to call.
zynqmp_mmio*() are doing direct read/write accesses and this patch does
the same. PMUFW is up and running at this time and there is a way to talk
to pmufw via IPI but there is no reason to implement IPI stuff in SPL if
we need just simple read for getting clock driver to work.

Also make invoke_smc as global so that it can be reused in
multile places where ever possible.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>