• Bryan O'Donoghue's avatar
    warp7: panic: hab: Call into BootROM failsafe on panic path · 20c0eca0
    Bryan O'Donoghue authored
    
    
    This patch adds a callback into the BootROM's provided High Assurance Boot
    (HAB) failsafe function when panicking i.e. the call is done without making
    use of stack.
    
    The HAB failsafe function allows a piece of software to call into the
    BootROM and place the processor into failsafe mode.
    
    Failsafe mode is a special mode which presents a serial download protocol
    interface over UART or USB at the time of writing.
    
    If the board has been set into secure mode, then only a signed binary can
    be used to recover the board.
    
    Thus failsafe gives a putatively secure method of performing a secure
    recovery over UART or USB.
    Signed-off-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
    Reviewed-by: default avatarRyan Harkin <ryan.harkin@linaro.org>
    20c0eca0
warp7_helpers.S 1.24 KB