Commit 0420f92a authored by Will Deacon's avatar Will Deacon Committed by Catalin Marinas
Browse files

ARM: Vexpress: don't use arch_reset() to restart board



Performing a restart or poweroff operation on the Versatile Express
board requires the ability to access the System Register Interface
in order to tell the microcontroller what we want to do.

If we try to do this using arch_reset(), memory will have been
remapped as 1:1 to allow a soft-boot to occur. This means we will
get stuck in an infinite loop polling a completion bit on the
micro.

Since we don't care about soft-boot, we re-assign the pm_power_off
and arm_pm_restart to call the board functions directly which allows
the microcontroller to handle the power operations.

Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 46b674d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment