mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 20:13:39 +00:00
f0debb2136
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>
20 lines
571 B
C
20 lines
571 B
C
#ifndef _ASM_SH_UNALIGNED_H
|
|
#define _ASM_SH_UNALIGNED_H
|
|
|
|
/* Copy from linux-kernel. */
|
|
|
|
/* Other than SH4A, SH can't handle unaligned accesses. */
|
|
#include <linux/compiler.h>
|
|
#if defined(__BIG_ENDIAN__)
|
|
#define get_unaligned __get_unaligned_be
|
|
#define put_unaligned __put_unaligned_be
|
|
#elif defined(__LITTLE_ENDIAN__)
|
|
#define get_unaligned __get_unaligned_le
|
|
#define put_unaligned __put_unaligned_le
|
|
#endif
|
|
|
|
#include <linux/unaligned/le_byteshift.h>
|
|
#include <linux/unaligned/be_byteshift.h>
|
|
#include <linux/unaligned/generic.h>
|
|
|
|
#endif /* _ASM_SH_UNALIGNED_H */
|