]> git.baikalelectronics.ru Git - uboot.git/commit
arm64: zynqmp: mp: Correct the R5 release sequence
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tue, 1 Aug 2017 10:54:52 +0000 (16:24 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 28 Nov 2017 15:08:56 +0000 (16:08 +0100)
commite411e37afabe8efd2a9aa2427d151b72392440d0
treeb606391076fa4b607c306a1e6711127e05d6ea9d
parent3810266c76256896271eda77b1d9b6a2180d1ee6
arm64: zynqmp: mp: Correct the R5 release sequence

This patch corrects the R5 release sequence by adding the
below steps.
1. Flush dcache to ensure that image loaded into memory.
2. Keep R5 reset just to ensure R5 in reset.
3. Disable caches before accessing TCM as with out this
   A53 can do speculative and may result in ECC failures
   if TCM's are not initialized. So, it is always better
   to disable dcaches before accessing TCM and enable back.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Reported-by: John Linn <linnj@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv8/zynqmp/mp.c