]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/sparc/include/asm/byteorder.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / sparc / include / asm / byteorder.h
1 /*
2 * (C) Copyright 2002
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
5 * (C) Copyright 2008
6 * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
7 *
8 * SPDX-License-Identifier: GPL-2.0+
9 */
10
11 #ifndef _SPARC_BYTEORDER_H
12 #define _SPARC_BYTEORDER_H
13
14 #include <asm/types.h>
15
16 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
17 #define __BYTEORDER_HAS_U64__
18 #define __SWAB_64_THRU_32__
19 #endif
20 #include <linux/byteorder/big_endian.h>
21 #endif /* _SPARC_BYTEORDER_H */