diff options
author | William Juul <william.juul@datarespons.no> | 2007-11-15 12:23:57 +0100 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2008-08-12 11:31:19 -0500 |
commit | 90ef117b68387d66763291af0117677644166611 (patch) | |
tree | 829e4954f6d1b0976734c0d2ef2b2bbd173d7572 /fs/yaffs2/devextras.h | |
parent | 0e8cc8bd92257da2e1df88cbc985e166e472ce61 (diff) | |
download | u-boot-imx-90ef117b68387d66763291af0117677644166611.zip u-boot-imx-90ef117b68387d66763291af0117677644166611.tar.gz u-boot-imx-90ef117b68387d66763291af0117677644166611.tar.bz2 |
Incorporate yaffs2 into U-boot
To use YAFFS2 define CONFIG_YAFFS2
Signed-off-by: William Juul <william.juul@tandberg.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'fs/yaffs2/devextras.h')
-rw-r--r-- | fs/yaffs2/devextras.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/fs/yaffs2/devextras.h b/fs/yaffs2/devextras.h index 9635c7a..9acda79 100644 --- a/fs/yaffs2/devextras.h +++ b/fs/yaffs2/devextras.h @@ -28,13 +28,19 @@ #define new newHack #endif -#if !(defined __KERNEL__) || (defined WIN32) +/* XXX U-BOOT XXX */ +#if 1 /* !(defined __KERNEL__) || (defined WIN32) */ /* User space defines */ +/* XXX U-BOOT XXX */ +#if 0 typedef unsigned char __u8; typedef unsigned short __u16; typedef unsigned __u32; +#endif + +#include <asm/types.h> /* * Simple doubly linked list implementation. @@ -213,7 +219,12 @@ static __inline__ void list_splice(struct list_head *list, #define DT_WHT 14 #ifndef WIN32 +/* XXX U-BOOT XXX */ +#if 0 #include <sys/stat.h> +#else +#include "common.h" +#endif #endif /* |