2 * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
4 * Copyright (C) 2002-2010 Aleph One Ltd.
5 * for Toby Churchill Ltd and Brightstar Engineering
7 * Created by Charles Manning <charles@aleph1.co.uk>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
15 * yaffscfg2k.c The configuration for the "direct" use of yaffs.
17 * This file is intended to be modified to your requirements.
18 * There is no need to redistribute this file.
23 #include "yaffs_trace.h"
26 unsigned yaffs_trace_mask =
33 YAFFS_TRACE_ALLOCATE |
34 YAFFS_TRACE_BAD_BLOCKS |
44 int yaffs_start_up(void)
46 // Stuff to configure YAFFS
47 // Stuff to initialise anything special (eg lock semaphore).
48 yaffsfs_OSInitialisation();
49 yramsim_CreateRamSim("yaffs2",1,1000,0,0);
50 yramsim_CreateRamSim("p0",0,0x400,1,0xff);
51 yramsim_CreateRamSim("p1",0,0x400,1,0);