arch: mach-k3: common: Add support to shutdown MCU R5 Core 1
authorBeleswar Padhi <b-padhi@ti.com>
Mon, 9 Jun 2025 08:14:27 +0000 (13:44 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 18 Jun 2025 18:16:39 +0000 (12:16 -0600)
commit87a9c1f5a05a2eff0f2146bf9199145a00049a0e
tree5356e587404b52364f722fb5ce3cf7752f017879
parent873e9dedd0ee5d732294b7923e06c58d0e84a6ed
arch: mach-k3: common: Add support to shutdown MCU R5 Core 1

During boot, ROM can bring up the MCU R5F cores in either lockstep or
split mode based on X509 certificate flags. If booted in split mode,
core 0 will run DM firmware and second core sits in WFI. Add support to
shut down core 1 so that other firmwares can later be loaded on them.

The shutdown of MCU R5 Core 1 is invoked at A72 SPL init, as by that
time Device Manager (DM) is up and running on R5 Core 0. The shutdown
request of Core 1 is handled by Device Manager itself.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
arch/arm/mach-k3/common.c
arch/arm/mach-k3/common.h
arch/arm/mach-k3/j721e/j721e_init.c
arch/arm/mach-k3/j721s2/j721s2_init.c
arch/arm/mach-k3/j784s4/j784s4_init.c