From: Jens Wiklander Date: Mon, 22 May 2023 12:22:34 +0000 (+0200) Subject: m68k: use asm-generic/unaligned.h X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=456736346aa61e872c6241811eca6c6cab49e022;p=u-boot.git 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 Acked-by: Angelo Dureghello Reviewed-by: Ilias Apalodimas --- diff --git a/arch/m68k/include/asm/unaligned.h b/arch/m68k/include/asm/unaligned.h index 328aa0c316..7fb482abc3 100644 --- a/arch/m68k/include/asm/unaligned.h +++ b/arch/m68k/include/asm/unaligned.h @@ -1,15 +1,2 @@ -#ifndef _ASM_M68K_UNALIGNED_H -#define _ASM_M68K_UNALIGNED_H - -#ifdef CONFIG_COLDFIRE -#include -#else -#include -#endif - -#include - -#define get_unaligned __get_unaligned_be -#define put_unaligned __put_unaligned_be - -#endif /* _ASM_M68K_UNALIGNED_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#include