Skip to content
  • Alexander Graf's avatar
    arm: Allow EFI payload code to take exceptions · cc4a4748
    Alexander Graf authored
    
    
    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: default avatarAlexander Graf <agraf@suse.de>
    cc4a4748