diff options
author | Alexander Graf <agraf@suse.de> | 2016-03-04 01:10:12 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-15 21:30:13 -0400 |
commit | cc4a474873ecf79775bef6b2e73a8b0c7e13b95f (patch) | |
tree | fbd4f28535b6bb3498684eb64435fcdc31f15e17 /cmd/bootefi.c | |
parent | da3e620d68ba06d7cb501f4756db7a3caf90e215 (diff) | |
download | u-boot-imx-cc4a474873ecf79775bef6b2e73a8b0c7e13b95f.zip u-boot-imx-cc4a474873ecf79775bef6b2e73a8b0c7e13b95f.tar.gz u-boot-imx-cc4a474873ecf79775bef6b2e73a8b0c7e13b95f.tar.bz2 |
arm: Allow EFI payload code to take exceptions
There are 2 ways an EFI payload could return into u-boot:
- Callback function
- Exception
While in EFI payload mode, r9 is owned by the payload and may not contain
a valid pointer to gd, so we need to fix it up. We do that properly for the
payload to callback path already.
This patch also adds gd pointer restoral for the exception path.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cmd/bootefi.c')
0 files changed, 0 insertions, 0 deletions