]> git.baikalelectronics.ru Git - uboot.git/commit
m68k: use asm-generic/unaligned.h
authorJens Wiklander <jens.wiklander@linaro.org>
Mon, 22 May 2023 12:22:34 +0000 (14:22 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 31 May 2023 18:05:34 +0000 (14:05 -0400)
commit9d4dadb4b82e407b3121ad5f9d23d5c48fb6ce89
tree063a7462d7c6e111fa2debdb7dd0a4226bb1f9c5
parentae9a40856222239a8de1953dd3dfe1762db48bff
m68k: use asm-generic/unaligned.h

M68k essentially duplicates the content of asm-generic/unaligned.h, with
an exception for non-Coldfire configurations. Coldfire configurations
are apparently able to do unaligned accesses. But in an attempt to clean
up and handle unaligned accesses in the same way we ignore that and use
the common asm-generic/unaligned.h directly instead.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Angelo Dureghello <angelo@kernel-space.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
arch/m68k/include/asm/unaligned.h