u-boot/arch
Marek Vasut 2b17dd1d9d ARM: arm11: Add C wrapper for allow_unaligned()
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 c7c0ca3767 ("efi_loader: fix efi_dp_from_file()") .
Adding the wrapper fixes the problem.

Fixes: d47a774680 ("arm: arm11: allow unaligned memory access")
Signed-off-by: Marek Vasut <marex@denx.de>
2023-07-01 17:29:15 +02:00
..
arc dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
arm ARM: arm11: Add C wrapper for allow_unaligned() 2023-07-01 17:29:15 +02:00
m68k arch: m68k: Add QEMU specific RAMBAR workaround 2023-04-15 21:36:07 +02:00
microblaze microblaze: drop remnants of manual reloc 2023-03-13 11:46:17 +01:00
mips mips: cpu: Use plain puts() in restart handler 2023-06-24 13:46:55 -04:00
nios2 dm: Emit the arch_cpu_init_dm() even only before relocation 2023-05-11 10:25:29 +08:00
powerpc Merge branch 'for-2023.07-2' of https://source.denx.de/u-boot/custodians/u-boot-mpc8xx 2023-05-07 09:44:27 -04:00
riscv riscv: Fix alignment of RELA sections in the linker scripts 2023-06-27 10:09:51 +08:00
sandbox drivers: core: ofnode: fix typo in panel timing decode 2023-05-15 17:14:46 -04:00
sh dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
x86 x86: samus: Don't include audio and SATA in TPL 2023-05-11 10:25:29 +08:00
xtensa global: Migrate CONFIG_MAX_MEM_MAPPED to CFG 2022-12-23 10:14:51 -05:00
.gitignore
Kconfig acpi: Create a new Kconfig for ACPI 2023-05-11 10:25:29 +08:00
Kconfig.nxp nxp: Finish migration of SYS_FSL_SRDS_[12] to Kconfig 2023-01-20 12:27:23 -05:00
u-boot-elf.lds