From 753ac610880e6e563d0384bb114f8b41df89e520 Mon Sep 17 00:00:00 2001 From: Charles Manning Date: Wed, 9 May 2012 16:55:17 +0000 Subject: u-boot: Update yaffs2 file system This patch updates the yaffs2 in u-boot to correspond to git://www.aleph1.co.uk/yaffs2 commit id 9ee5d0643e559568dbe62215f76e0a7bd5a63d93 Signed-off-by: Charles Manning --- fs/yaffs2/yaffscfg.h | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'fs/yaffs2/yaffscfg.h') diff --git a/fs/yaffs2/yaffscfg.h b/fs/yaffs2/yaffscfg.h index 3503dc863f..718504eeac 100644 --- a/fs/yaffs2/yaffscfg.h +++ b/fs/yaffs2/yaffscfg.h @@ -1,7 +1,7 @@ /* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2007 Aleph One Ltd. + * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning @@ -23,23 +23,16 @@ #define __YAFFSCFG_H__ -#include "devextras.h" +#include "yportenv.h" -#define YAFFSFS_N_HANDLES 200 +#define YAFFSFS_N_HANDLES 100 +#define YAFFSFS_N_DSC 20 -typedef struct { - const char *prefix; - struct yaffs_DeviceStruct *dev; -} yaffsfs_DeviceConfiguration; +struct yaffsfs_DeviceConfiguration { + const YCHAR *prefix; + struct yaffs_dev *dev; +}; -void yaffsfs_Lock(void); -void yaffsfs_Unlock(void); - -__u32 yaffsfs_CurrentTime(void); - -void yaffsfs_SetError(int err); -int yaffsfs_GetError(void); - #endif -- cgit