mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
Merge branch 'master' of git://git.denx.de/u-boot-sparc
This commit is contained in:
commit
73bb4c7240
2 changed files with 11 additions and 0 deletions
|
@ -32,6 +32,7 @@
|
||||||
|
|
||||||
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
|
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
|
||||||
#define __BYTEORDER_HAS_U64__
|
#define __BYTEORDER_HAS_U64__
|
||||||
|
#define __SWAB_64_THRU_32__
|
||||||
#endif
|
#endif
|
||||||
#include <linux/byteorder/big_endian.h>
|
#include <linux/byteorder/big_endian.h>
|
||||||
#endif /* _SPARC_BYTEORDER_H */
|
#endif /* _SPARC_BYTEORDER_H */
|
||||||
|
|
10
arch/sparc/include/asm/unaligned.h
Normal file
10
arch/sparc/include/asm/unaligned.h
Normal file
|
@ -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 */
|
Loading…
Add table
Reference in a new issue