From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- .../arch/microblaze/include/asm/unaligned.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 roms/u-boot-sam460ex/arch/microblaze/include/asm/unaligned.h (limited to 'roms/u-boot-sam460ex/arch/microblaze/include/asm/unaligned.h') diff --git a/roms/u-boot-sam460ex/arch/microblaze/include/asm/unaligned.h b/roms/u-boot-sam460ex/arch/microblaze/include/asm/unaligned.h new file mode 100644 index 000000000..785c2e915 --- /dev/null +++ b/roms/u-boot-sam460ex/arch/microblaze/include/asm/unaligned.h @@ -0,0 +1,16 @@ +#ifndef _ASM_MICROBLAZE_UNALIGNED_H +#define _ASM_MICROBLAZE_UNALIGNED_H + +#ifdef __KERNEL__ + +/* + * The Microblaze can do unaligned accesses itself in big endian mode. + */ +#include +#include + +#define get_unaligned __get_unaligned_be +#define put_unaligned __put_unaligned_be + +#endif /* __KERNEL__ */ +#endif /* _ASM_MICROBLAZE_UNALIGNED_H */ -- cgit 1.2.3-korg