ARM: AM33xx: PRM: Implement REBOOT_COLD
authorAlexander Sverdlin <alexander.sverdlin@siemens.com>
Wed, 21 Feb 2024 15:45:51 +0000 (16:45 +0100)
committerTony Lindgren <tony@atomide.com>
Wed, 28 Feb 2024 07:33:03 +0000 (09:33 +0200)
commit6521f6a195c70e16cab375ca1c4d23b6fd3d76b4
tree31750fa1171591185131ca710ef834fe0426cb47
parent1afa7542be6ea0b10b81f7798c0566472d9fa53a
ARM: AM33xx: PRM: Implement REBOOT_COLD

Historically AM33xx performed warm software reset even though requested
(and default) was REBOOT_COLD. Reflect the de-facto default mode in
/sys/kernel/reboot/mode correctly and implement the real REBOOT_COLD
(if configured explicitly).

Tested-by: Matthias Michel <matthias.michel@siemens.com>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Message-ID: <20240221154614.3549951-2-alexander.sverdlin@siemens.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/am33xx-restart.c
arch/arm/mach-omap2/board-generic.c
arch/arm/mach-omap2/prm-regbits-33xx.h
arch/arm/mach-omap2/prm.h
arch/arm/mach-omap2/prm33xx.c
arch/arm/mach-omap2/prm_common.c