armv7R: K3: am654: Shut down R5 core after ATF startup on A53
authorAndreas Dannenberg <dannenberg@ti.com>
Fri, 7 Jun 2019 13:54:42 +0000 (19:24 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 27 Jul 2019 01:49:22 +0000 (21:49 -0400)
commitf9380a730d925f9602a7fa8d7d7e861acfb704fd
tree022d1f09a6eecf000451187099128bff5d09c9ee
parent9566b777ae0ae01a9899aa7e225076ee8d4af861
armv7R: K3: am654: Shut down R5 core after ATF startup on A53

Rather than simply parking the R5 core in WFE after starting up ATF
on A53 instead use SYSFW API to properly shut down the R5 CPU cores
as well as associated timer resources that were pre-allocated. This
allows software further downstream to properly and gracefully bring
the R5 cores back online if desired.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-k3/am6_init.c
arch/arm/mach-k3/common.c
arch/arm/mach-k3/include/mach/sys_proto.h