[U-Boot] [PATCH] arm: armv7: add compile option -mno-unaligned-access if available

Måns Rullgård
2012-07-02T09:53:10Z

Tetsuyuki Kobayashi <koba@kmckk.co.jp> writes:

> Recent compiler generates unaligned memory access in armv7 default.
> But current U-Boot does not allow unaligned memory access, so it causes
> data abort exception.
> This patch add compile option "-mno-unaligned-access" if it is available.

Why not allow unaligned accesses instead?

--
M?ns Rullg?rd
mans at mansr.com