u-boot/arch/arm/cpu
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
..
arm11 ARM: arm11: Add C wrapper for allow_unaligned() 2023-07-01 17:29:15 +02:00
arm720t Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
arm920t imx: Drop unused CONFIG_IMX 2023-02-07 14:33:48 -05:00
arm926ejs ARM: remove SPEAR entry in makefile 2023-03-06 17:03:56 -05:00
arm946es Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
arm1136 arm: Remove flea3 board 2021-10-01 12:08:19 -04:00
arm1176 global: Remove unused CONFIG defines 2023-01-20 12:27:06 -05:00
armv7 ARM: armv7: Add C wrapper for allow_unaligned() 2023-07-01 17:29:15 +02:00
armv7m global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
armv8 armv8: fsl-layerscape: check for crypto node first in fdt_fixup_remove_jr 2023-05-05 09:46:03 +08:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
u-boot-spl.lds linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
u-boot.lds arm: Rework usage of CONFIG_ARMV[78]_SECURE_BASE in linker scripts 2023-01-20 12:27:06 -05:00