commit | f78fdee9fc157afe35118f01f349aff5aa791c81 | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Tue May 07 14:18:52 2019 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Jul 11 10:05:15 2019 -0400 |
tree | 091d8abd1a7e66e5e0103022467d51889088da06 | |
parent | 6a9d0e275f0edb952541ae4efb0dc394242f9b5a [diff] |
arm: spear: Support returning to BootROM Implement the weak board_return_to_bootrom() function so that when enabling the spl_bootrom.c driver, one can make use of usbboot on spear platforms. All necessary information to return to the BootROM are stored in the BootROM's stack. The SPL stack pointer is reset so we save the BootROM's stack pointer into the SPL .data section. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Stefan Roese <sr@denx.de>