commit | f8c5c7833bbf32b5bab11fad8e4b948bb6ee2a43 | [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 | 06ad1eb1c963d0cdf3e6c526946eea25ff539f70 [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>