diff options
author | Heiko Stuebner <heiko@sntech.de> | 2019-03-06 00:29:13 +0100 |
---|---|---|
committer | Dimitris Papastamos <dimitris.papastamos@arm.com> | 2019-03-08 15:35:30 +0000 |
commit | c6c10b02b8eec52c8da2f65164c6a0d3c100016b (patch) | |
tree | c8ea6e30d76b4eceba4e45966ab165e8a7d4dd7d /bl2u/aarch64 | |
parent | 78d58519de0e918125fb019b6a882001a6f203aa (diff) | |
download | arm-trusted-firmware-c6c10b02b8eec52c8da2f65164c6a0d3c100016b.tar.gz |
Fixup register handling in aarch32 reset_handler
The BL handover interface stores the bootloader arguments in
registers r9-r12, so when the reset_handler stores the lr pointer
in r10 it clobers one of the arguments.
Adapt to use r8 and adapt the comment about registers allowed
to clober.
I've checked aarch32 reset_handlers and none seem to use higher
registers as far as I can tell.
Fixes: a6f340fe58b9 ("Introduce the new BL handover interface")
Cc: Soby Mathew <soby.mathew@arm.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'bl2u/aarch64')
0 files changed, 0 insertions, 0 deletions