Skip to content
Snippets Groups Projects
  1. Jul 08, 2023
  2. Jul 07, 2023
  3. Jul 06, 2023
  4. Jul 05, 2023
  5. Jul 04, 2023
  6. Jul 03, 2023
  7. Jul 01, 2023
    • Tom Rini's avatar
      Merge tag 'efi-2023-07-rc6' of https://source.denx.de/u-boot/custodians/u-boot-efi · ac29400f
      Tom Rini authored
      Pull request efi-2023-07-rc6
      
      Documentation:
      
      * man-pages for the loads and saves commands
      
      UEFI:
      
      * fix implementation of allow_unaligned() for armv7 and arm11
      ac29400f
    • Marek Vasut's avatar
      ARM: arm11: Add C wrapper for allow_unaligned() · 2b17dd1d
      Marek Vasut authored and Heinrich Schuchardt's avatar Heinrich Schuchardt committed
      
      Rename current assembler implementation of allow_unaligned() to
      arm11_arch_cp15_allow_unaligned() and add it into arm11.h header,
      then add C wrapper of allow_unaligned().
      
      This fixes misbehavior when linking U-Boot, where the CPU specific
      allow_unaligned() implementation was ignored and instead the
      __weak allow_unaligned() implementation from lib/efi_loader/efi_setup.c
      was used, which led to "data abort" just before booting Linux via tftp,
      in efi_dp_from_file() -> path_to_uefi() -> utf16_put() .
      
      The problem is triggerd by c7c0ca37 ("efi_loader: fix efi_dp_from_file()") .
      Adding the wrapper fixes the problem.
      
      Fixes: d47a7746 ("arm: arm11: allow unaligned memory access")
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      2b17dd1d
Loading