arm64: zynqmp: Add new command for TCM initialization
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Fri, 5 Oct 2018 09:39:05 +0000 (15:09 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 16 Oct 2018 14:53:24 +0000 (16:53 +0200)
commit5860bc16b918bb5456a4a77930eafd7c858f70db
treee76cec5af6ccc6548bf7b7059c6217bc328ac460
parent12ad2994a5f01f949c3865851898bdae5ded1ddc
arm64: zynqmp: Add new command for TCM initialization

This patch adds new zynqmp command "zynqmp tcminit mode" to
initialize TCM. TCM needs to be initialized before accessing
to avoid ECC errors. This new command helps to perform
the same. It also makes tcm_init() as global and uses it for
doing the TCM initialization.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@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
board/xilinx/zynqmp/cmds.c