]> git.baikalelectronics.ru Git - uboot.git/commit
arm64: zynqmp: Fix application loading on R5 core1
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Thu, 15 Apr 2021 11:12:15 +0000 (05:12 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Jun 2021 07:48:35 +0000 (09:48 +0200)
commit816da2471ad88f47a338ff4ee92a18216bd8b6f7
treef7a86e8be275a316232481f7e2e0993d0bae1099
parent9aeba6457db572ed3594a40ecd781d8a2b487d45
arm64: zynqmp: Fix application loading on R5 core1

From U-Boot, loading application on RPU core 0 is fine but loading on
core 1 is not handled properly. Lock-step mode needs both the R5 cores
to be initialized and it is working fine. Whereas in SPLIT mode individual
R5 cores needs to be initialized as they need to execute differenet
applications. Handle both these lock-step and split modes by propagating
mode and RPU core number(4 for RPU0 and 5 for RPU1) for various functions
and by adding conditions in those functions.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynqmp/mp.c