X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=fs%2Fyaffs2%2Fyportenv.h;h=bbab14d503d8129abfb5eddc09a0a6b39ea6e915;hb=2f103ee284e68934a648732db5e0b6ceb4a1ed8f;hp=8b80c6d6889a6390eb41debb33345cce33b4b0b6;hpb=0e8cc8bd92257da2e1df88cbc985e166e472ce61;p=u-boot diff --git a/fs/yaffs2/yportenv.h b/fs/yaffs2/yportenv.h index 8b80c6d688..bbab14d503 100644 --- a/fs/yaffs2/yportenv.h +++ b/fs/yaffs2/yportenv.h @@ -1,5 +1,5 @@ /* - * YAFFS: Yet another Flash File System . A NAND-flash specific file system. + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * * Copyright (C) 2002-2007 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering @@ -17,11 +17,17 @@ #ifndef __YPORTENV_H__ #define __YPORTENV_H__ +/* XXX U-BOOT XXX */ +#ifndef CONFIG_YAFFS_DIRECT +#define CONFIG_YAFFS_DIRECT +#endif + #if defined CONFIG_YAFFS_WINCE #include "ywinceenv.h" -#elif defined __KERNEL__ +/* XXX U-BOOT XXX */ +#elif 0 /* defined __KERNEL__ */ #include "moduleconfig.h" @@ -150,7 +156,7 @@ extern unsigned int yaffs_wr_attempts; * Tracing flags. * The flags masked in YAFFS_TRACE_ALWAYS are always traced. */ - + #define YAFFS_TRACE_OS 0x00000002 #define YAFFS_TRACE_ALLOCATE 0x00000004 #define YAFFS_TRACE_SCAN 0x00000008