]> git.ipfire.org Git - people/ms/u-boot.git/commit
arm64: zynqmp: Define routines for mmio write and read
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Wed, 1 Feb 2017 19:40:46 +0000 (01:10 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 20 Jun 2017 14:42:06 +0000 (16:42 +0200)
commite0752bc18422ec0dc93a770e96b1c2f44ee64ed7
treef2055a347dfe526be583029f5e4a9a15b65aa05c
parentd84bd9284ea05412928e5b95d4aaebfce18fef7c
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>
arch/arm/cpu/armv8/zynqmp/cpu.c
arch/arm/include/asm/arch-zynqmp/sys_proto.h