Re: [Yaffs] Problem with yaffs build configurations

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: ian@brightstareng.com
Date:  
To: Colin Tuckley
CC: yaffs
Subject: Re: [Yaffs] Problem with yaffs build configurations
On Tuesday 11 December 2007 06:17, Colin Tuckley wrote:
> > Shouldn't all the code/files that are needed for Linux
> > simply be omitted or ifdef'd.
>
> We can't omit it, several non-Linux implementations of yaffs
> "emulate" the kernel mtd layer. All this testing of
> KERNEL_VERSION is to determine which MTD layer we should be
> using/emulating/defining.


Perhaps you can provide and interface like yaffs_mtdif{,1,2}.c
that works with your emulated MTD interface. MTD is a moving
target -- not something I'd like to emulate in any detail.

-imcd