Tom Rini <tr...@ti.com> writes:

> When we tell the compiler to optimize for ARMv7 it assumes a default of
> unaligned accesses being supported at the hardware level and can make
> use of this to perform what it deems as an optimization in any case,
> including allowing for data to become unaligned.  We explicitly disallow
> this hardware feature so we must tell the compiler.
>
> Cc: Albert ARIBAUD <albert.u.b...@aribaud.net>
> Cc: Mans Rullgard <m...@mansr.com>
> Signed-off-by: Tom Rini <tr...@ti.com>
> ---
>  arch/arm/cpu/armv7/config.mk      |    6 +-
>  arch/arm/cpu/armv8/config.mk      |    5 +-
>  common/Makefile                   |    4 --
>  doc/README.arm-unaligned-accesses |  122 
> -------------------------------------
>  fs/ubifs/Makefile                 |    3 -
>  lib/Makefile                      |    3 -
>  6 files changed, 5 insertions(+), 138 deletions(-)
>  delete mode 100644 doc/README.arm-unaligned-accesses

Awesome.

You should also remove the reference to the (deleted) readme file from
arch/arm/lib/interrupts.c

-- 
Måns Rullgård
m...@mansr.com
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to