MA-17353-1 Add system board reset command for imx8q devices
authorJi Luo <ji.luo@nxp.com>
Wed, 10 Jun 2020 10:29:54 +0000 (18:29 +0800)
committerJi Luo <ji.luo@nxp.com>
Thu, 13 May 2021 01:49:18 +0000 (09:49 +0800)
commit69d8d7c88af20faae578b30207737a2336f2560b
treeeca18ba57b0e6d82313247bdb3c071afa93855d5
parent32f73a745946456f0e3923cac3be6039901900d4
MA-17353-1 Add system board reset command for imx8q devices

Default 'reset' command in bootloader will only trigger partition reboot
for A core, which will not reload everything (like SPL, SCFW, M4, etc.).
Sometimes, we want to trigger a board reboot without pressing the reset
button, it can be very helpful in some cases like remote debugging...

This commit adds command 'reboot' to trigger system board reboot via the
psci interface provided by ATF, it's enabled on i.MX 8 Quad platforms only.

Test: system board reboot on imx8qm/imx8qxp.

Change-Id: I27f2291806b6959d46fa6f55fe186041d141d2f4
Signed-off-by: Ji Luo <ji.luo@nxp.com>
(cherry picked from commit f8a127354ba4f77ba5b1af87f692133bb704cfe0)
(cherry picked from commit 646b99c6bcba96c97d3517a2c21d54908a8c4ed5)
arch/arm/mach-imx/imx8/Kconfig
arch/arm/mach-imx/imx8/misc.c