1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* 3 * linux/arch/unicore32/include/asm/byteorder.h 4 * 5 * Code specific to PKUnity SoC and UniCore ISA 6 * 7 * Copyright (C) 2001-2010 GUAN Xue-tao 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License version 2 as 11 * published by the Free Software Foundation. 12 * 13 * UniCore ONLY support Little Endian mode, the data bus is connected such 14 * that byte accesses appear as: 15 * 0 = d0...d7, 1 = d8...d15, 2 = d16...d23, 3 = d24...d31 16 * and word accesses (data or instruction) appear as: 17 * d0...d31 18 */ 19 #ifndef __UNICORE_BYTEORDER_H__ 20 #define __UNICORE_BYTEORDER_H__ 21 22 #include <linux/byteorder/little_endian.h> 23 24 #endif 25