| 1 | /* |
| 2 | * (C) Copyright 2000-2004 |
| 3 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | * |
| 5 | * See file CREDITS for list of people who contributed to this |
| 6 | * project. |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or |
| 9 | * modify it under the terms of the GNU General Public License as |
| 10 | * published by the Free Software Foundation; either version 2 of |
| 11 | * the License, or (at your option) any later version. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | * GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License |
| 19 | * along with this program; if not, write to the Free Software |
| 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 21 | * MA 02111-1307 USA |
| 22 | */ |
| 23 | |
| 24 | #ifndef __COMMON_H_ |
| 25 | #define __COMMON_H_ 1 |
| 26 | |
| 27 | #undef _LINUX_CONFIG_H |
| 28 | #define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */ |
| 29 | |
| 30 | typedef unsigned char uchar; |
| 31 | typedef volatile unsigned long vu_long; |
| 32 | typedef volatile unsigned short vu_short; |
| 33 | typedef volatile unsigned char vu_char; |
| 34 | |
| 35 | #include <inttypes.h> |
| 36 | #include <linux/types.h> |
| 37 | #include <linux/string.h> |
| 38 | #include <asm/ptrace.h> |
| 39 | #include <stdarg.h> |
| 40 | #include <image.h> |
| 41 | |
| 42 | typedef void (interrupt_handler_t)(void *); |
| 43 | |
| 44 | #include <asm/u-boot.h> /* boot information for Linux kernel */ |
| 45 | #include <asm/global_data.h> /* global data used for startup functions */ |
| 46 | |
| 47 | |
| 48 | #endif /* __COMMON_H_ */ |
| 49 | |