diff options
| author | Pali Rohár <[email protected]> | 2021-07-23 11:14:23 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2021-07-31 09:49:32 +0200 |
| commit | 4375598c52740c02a6dcde1213a31959c03aca12 (patch) | |
| tree | 4b58e482a7fee7313ac67c451c370dc723c2f7d1 /scripts/const_structs.checkpatch | |
| parent | 5029d7bf34ec14730faa74d0fa1a229ec21233c9 (diff) | |
arm: mvebu: Fix return_to_bootrom()
Register r0 should be set to return value 0x0 - NO_ERR.
Set r0 with return value after all registers are restored from the
stack, so that the return value is always correct.
Signed-off-by: Pali Rohár <[email protected]>
Fixes: 944c7a317675 ("arm: mvebu: Add option to use UART xmodem protocol via kwboot")
Reviewed-by: Marek Behún <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Reviewed-by: Chris Packham <[email protected]>
Tested-by: Chris Packham <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
