]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/blackfin/include/asm/byteorder.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / blackfin / include / asm / byteorder.h
CommitLineData
6cb142fa
WD
1/*
2 * U-boot - byteorder.h
3 *
155fd766 4 * Copyright (c) 2005-2007 Analog Devices Inc.
6cb142fa
WD
5 *
6 * (C) Copyright 2000-2004
7 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
8 *
1a459660 9 * SPDX-License-Identifier: GPL-2.0+
6cb142fa
WD
10 */
11
12#ifndef _BLACKFIN_BYTEORDER_H
13#define _BLACKFIN_BYTEORDER_H
14
15#include <asm/types.h>
16
17#if defined(__GNUC__) && !defined(__STRICT_ANSI__) || defined(__KERNEL__)
18# define __BYTEORDER_HAS_U64__
19# define __SWAB_64_THRU_32__
20#endif
21
22#include <linux/byteorder/little_endian.h>
23
24#endif