• Marek Behún's avatar
    plat: marvell: armada: a3k: support doing system reset via CM3 secure coprocessor · d9243f26
    Marek Behún authored
    
    
    Introduce a new build option CM3_SYSTEM_RESET for A3700 platform, which,
    when enabled, adds code to the PSCI reset handler to try to do system
    reset by the WTMI firmware running on the Cortex-M3 secure coprocessor.
    (This function is exposed via the mailbox interface.)
    
    The reason is that the Turris MOX board has a HW bug which causes reset
    to hang unpredictably. This issue can be solved by putting the board in
    a specific state before reset.
    Signed-off-by: default avatarMarek Behún <marek.behun@nic.cz>
    Change-Id: I3f60b9f244f334adcd33d6db6a361fbc8b8d209f
    d9243f26
a3700_pm.h 987 Bytes