diff options
author | Wolfgang Denk <wd@denx.de> | 2010-10-27 20:37:33 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-27 20:37:33 +0200 |
commit | 73bb4c72407aca3c2f461708bb872a23f2b1bf5a (patch) | |
tree | d918b3b14a103810440fd57b1bd9a88633f5ad80 /arch | |
parent | a3110f01c408713e98756f136e09ec2bf0b16625 (diff) | |
parent | 997faf2edf5a868a36f8433432d403a545388f0e (diff) | |
download | u-boot-imx-73bb4c72407aca3c2f461708bb872a23f2b1bf5a.zip u-boot-imx-73bb4c72407aca3c2f461708bb872a23f2b1bf5a.tar.gz u-boot-imx-73bb4c72407aca3c2f461708bb872a23f2b1bf5a.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-sparc
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/include/asm/byteorder.h | 1 | ||||
-rw-r--r-- | arch/sparc/include/asm/unaligned.h | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/byteorder.h b/arch/sparc/include/asm/byteorder.h index b9fc656..e3b3dec 100644 --- a/arch/sparc/include/asm/byteorder.h +++ b/arch/sparc/include/asm/byteorder.h @@ -32,6 +32,7 @@ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __BYTEORDER_HAS_U64__ +#define __SWAB_64_THRU_32__ #endif #include <linux/byteorder/big_endian.h> #endif /* _SPARC_BYTEORDER_H */ diff --git a/arch/sparc/include/asm/unaligned.h b/arch/sparc/include/asm/unaligned.h new file mode 100644 index 0000000..0e646f7 --- /dev/null +++ b/arch/sparc/include/asm/unaligned.h @@ -0,0 +1,10 @@ +#ifndef _ASM_SPARC_UNALIGNED_H +#define _ASM_SPARC_UNALIGNED_H + +/* + * The SPARC can not do unaligned accesses, it must be split into multiple + * byte accesses. The SPARC is in big endian mode. + */ +#include <asm-generic/unaligned.h> + +#endif /* _ASM_SPARC_UNALIGNED_H */ |