Re: [U-Boot] there is no need for uboot to use linux's mtd driver!

2009-06-16 Thread Scott Wood
Mike Frysinger wrote: > On Tuesday 16 June 2009 14:33:00 Scott Wood wrote: >> I agree that there should be a way for the generic functions >> to not be compiled if they're not needed. > > if gc-sections is used, then it isnt a problem ... Not without some other changes -- there would still be ref

Re: [U-Boot] there is no need for uboot to use linux's mtd driver!

2009-06-16 Thread Mike Frysinger
On Tuesday 16 June 2009 14:33:00 Scott Wood wrote: > I agree that there should be a way for the generic functions > to not be compiled if they're not needed. if gc-sections is used, then it isnt a problem ... -mike signature.asc Description: This is a digitally signed message part. _

Re: [U-Boot] there is no need for uboot to use linux's mtd driver!

2009-06-16 Thread Scott Wood
On Tue, Jun 09, 2009 at 07:52:19PM +0800, liu.yao...@zte.com.cn wrote: > i am porting uboot to our board.and i am a fresh man to the uboot. > after several days on studying uboot.i found uboot's mtd drvier framework > for nand is very foolish! As Wolfgang pointed out, patches that actually improv

Re: [U-Boot] there is no need for uboot to use linux's mtd driver!

2009-06-11 Thread Wolfgang Denk
Dear liu.yao...@zte.com.cn, In message <200906111737.n5bhbllo059...@mse1.zte.com.cn> you wrote: > > i am porting uboot to our board.and i am a fresh man to the uboot. > after several days on studying uboot.i found uboot's mtd drvier framework > for nand is very foolish! You are welcome to provid

[U-Boot] there is no need for uboot to use linux's mtd driver!

2009-06-11 Thread liu . yaojin
i am porting uboot to our board.and i am a fresh man to the uboot. after several days on studying uboot.i found uboot's mtd drvier framework for nand is very foolish! i think uboot should just have some api,such as read/write_page,oob,crc,but let them be null functions. !!!because!!! the semicon