summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/unaligned.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-02-10 20:51:25 +0300
committerTom Rini <trini@konsulko.com>2021-02-15 18:16:24 +0300
commitf0debb2136c5908a5fbf7e3bd7eb15a8984044bc (patch)
tree58de8c817f75290cd6a7c7e7c91d4b618680fe7b /arch/sh/include/asm/unaligned.h
parent0c3cd2443bb0c87dc8ebe117e1fb34c9060f863e (diff)
downloadu-boot-f0debb2136c5908a5fbf7e3bd7eb15a8984044bc.tar.xz
sh: Remove sh7757lcr board
This board has not been converted to CONFIG_DM by the deadline of v2020.01 and is missing other conversions which depend on this as well. Remove it. As this is the last SH4A board, remove that support as well. Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/sh/include/asm/unaligned.h')
-rw-r--r--arch/sh/include/asm/unaligned.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/sh/include/asm/unaligned.h b/arch/sh/include/asm/unaligned.h
index 06096eeac5..5acf081962 100644
--- a/arch/sh/include/asm/unaligned.h
+++ b/arch/sh/include/asm/unaligned.h
@@ -3,11 +3,7 @@
/* Copy from linux-kernel. */
-#ifdef CONFIG_CPU_SH4A
-/* SH-4A can handle unaligned loads in a relatively neutered fashion. */
-#include <asm/unaligned-sh4a.h>
-#else
-/* Otherwise, SH can't handle unaligned accesses. */
+/* Other than SH4A, SH can't handle unaligned accesses. */
#include <linux/compiler.h>
#if defined(__BIG_ENDIAN__)
#define get_unaligned __get_unaligned_be
@@ -20,6 +16,5 @@
#include <linux/unaligned/le_byteshift.h>
#include <linux/unaligned/be_byteshift.h>
#include <linux/unaligned/generic.h>
-#endif
#endif /* _ASM_SH_UNALIGNED_H */