MINI2440: Add a command to re-init CFI NOR
[u-boot-openmoko/mini2440.git] / include / asm-sh / byteorder.h
blob25626a0760693a0ab2cfebc07f7eb1836ca83b5d
1 /*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License as
4 * published by the Free Software Foundation; either version 2 of
5 * the License, or (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
15 * MA 02111-1307 USA
18 #ifndef __ASM_SH_BYTEORDER_H_
19 #define __ASM_SH_BYTEORDER_H_
21 #include <config.h>
22 #include <asm/types.h>
24 #ifdef __LITTLE_ENDIAN__
25 #include <linux/byteorder/little_endian.h>
26 #else
27 #include <linux/byteorder/big_endian.h>
28 #endif
30 #endif