]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/sandbox/include/asm/byteorder.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / sandbox / include / asm / byteorder.h
1 /*
2  * Copyright (c) 2011 The Chromium OS Authors.
3  *
4  * SPDX-License-Identifier:     GPL-2.0+ 
5  */
6
7 #ifndef __ASM_SANDBOX_BYTEORDER_H
8 #define __ASM_SANDBOX_BYTEORDER_H
9
10
11 #include <asm/types.h>
12
13 #if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
14 #  define __BYTEORDER_HAS_U64__
15 #  define __SWAB_64_THRU_32__
16 #endif
17
18 #ifdef CONFIG_SANDBOX_BIG_ENDIAN
19 #include <linux/byteorder/big_endian.h>
20 #else
21 #include <linux/byteorder/little_endian.h>
22 #endif
23
24 #endif