u-boot/arch/arm/cpu
Patrice Chotard 268f6ac1f9 arm64: Update memcpy_{from, to}io() helpers
At early U-Boot stage, before relocation, MMU is not yet configured
and disabled. DDR may not be configured with the correct memory
attributes (can be configured in MT_DEVICE instead of MT_MEMORY).

In this case, usage of memcpy_{from, to}io() may leads to synchronous
abort in AARCH64 in case the normal memory address is not 64Bits aligned.

To avoid such situation, forbid usage of normal memory cast to (u64 *) in
case MMU is not enabled.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: mark.kettenis@xs4all.nl
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2021-07-28 19:30:22 -04:00
..
arm11 common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
arm720t rename symbol: CONFIG_TEGRA -> CONFIG_ARCH_TEGRA 2020-05-15 14:47:35 -04:00
arm920t arm: Remove at91rm9200ek boards 2021-07-07 22:22:42 -04:00
arm926ejs arm: Remove spear600 boards and the rest of SPEAr support 2021-07-07 22:22:42 -04:00
arm946es reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
arm1136 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
arm1176 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
armv7 arm: iproc: Add higher speed configurations 2021-07-06 14:07:36 -04:00
armv7m reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
armv8 arm64: Update memcpy_{from, to}io() helpers 2021-07-28 19:30:22 -04:00
pxa reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
sa1100 reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05: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 spl: fix linker size check off-by-one errors 2019-05-05 08:48:50 -04:00
u-boot.lds ARM: Specify aligned address for secure section instead of using attributes 2018-09-07 09:11:42 -04:00