public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] 16-bit NAND support
@ 2004-11-02 22:22 Zhang, Jian
  2004-11-02 23:05 ` Wolfgang Denk
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Zhang, Jian @ 2004-11-02 22:22 UTC (permalink / raw)
  To: u-boot

Hi,

This is a patch to add 16-bit NAND support to u-boot. It doesn't change
any existing 8-bit NAND code so it shouldn't affect any existing boards
that have 8-bit chips. I tested it in 2 TI OMAP boards, one using
software to access chip, the other one using hardware NAND controller.

Regards,
Jian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nand16.patch
Type: application/octet-stream
Size: 14481 bytes
Desc: nand16.patch
Url : http://lists.denx.de/pipermail/u-boot/attachments/20041102/dfae27fd/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGELOG
Type: application/octet-stream
Size: 163 bytes
Desc: CHANGELOG
Url : http://lists.denx.de/pipermail/u-boot/attachments/20041102/dfae27fd/attachment-0001.obj 

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [U-Boot-Users] [PATCH] 16-bit NAND support
@ 2004-11-02 23:12 Zhang, Jian
  2004-11-02 23:20 ` Wolfgang Denk
  0 siblings, 1 reply; 9+ messages in thread
From: Zhang, Jian @ 2004-11-02 23:12 UTC (permalink / raw)
  To: u-boot

Yes, it would change the code size as 16-bit nand code is added. But the
path that an 8-bit chip follows remains the same. I don't expect it
breaks any existing boards. Can someone run a test on 8-bit chip boards?

-Jian

> -----Original Message-----
> From: wd at denx.de [mailto:wd at denx.de]
> Sent: Tuesday, November 02, 2004 5:06 PM
> To: Zhang, Jian
> Cc: u-boot-users at lists.sourceforge.net; Johnson, Steve-OMAP
> Subject: Re: [U-Boot-Users] [PATCH] 16-bit NAND support
> 
> In message
<BA2832125C3C994384FCC051CDFC7369B8A34F@dlee2k05.ent.ti.com> you wrote:
> >
> > This is a patch to add 16-bit NAND support to u-boot. It doesn't
change
> > any existing 8-bit NAND code so it shouldn't affect any existing
boards
> > that have 8-bit chips. I tested it in 2 TI OMAP boards, one using
> 
> Did you actually _check_ if it has impact on exiting  boards?  Impact
> on parameters like code size, for example?
> 
> Best regards,
> 
> Wolfgang Denk
> 
> --
> See us @ Embedded/Electronica Munich, Nov 09 - 12, Hall A.6 Booth 513
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> "The one charm of marriage is that it makes a  life  of  deception  a
> neccessity."                                            - Oscar Wilde

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [U-Boot-Users] [PATCH] 16-bit NAND support
@ 2004-11-02 23:41 Woodruff, Richard
  2004-11-03  0:21 ` Wolfgang Denk
  0 siblings, 1 reply; 9+ messages in thread
From: Woodruff, Richard @ 2004-11-02 23:41 UTC (permalink / raw)
  To: u-boot

Wolfgang,

I just eyed the patch and it didn't seem like there was much size
difference.  Compiled it might be in the order of some bytes, perhaps a
1k or 2k at worst, easy enough to tell.  At run time it will be reading
a page at a time and moving that to memory else where, so the run time
overhead of the couple structure changes probably won't change much
either. 

Is there some bit which worries you?  I didn't notice anything in a
quick look, but perhaps you did.

Regards,
Richard W.

> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net [mailto:u-boot-users-
> admin at lists.sourceforge.net] On Behalf Of Wolfgang Denk
> Sent: Tuesday, November 02, 2004 5:21 PM
> To: Zhang, Jian
> Cc: u-boot-users at lists.sourceforge.net; Johnson, Steve-OMAP
> Subject: Re: [U-Boot-Users] [PATCH] 16-bit NAND support
> 
> In message
<BA2832125C3C994384FCC051CDFC7369B8A351@dlee2k05.ent.ti.com>
> you wrote:
> > Yes, it would change the code size as 16-bit nand code is added. But
the
> > path that an 8-bit chip follows remains the same. I don't expect it
> > breaks any existing boards. Can someone run a test on 8-bit chip
boards?
> 
> Even if you disable the 16 bit NAND code the code size will change as
> you added new fields to some structures and tables.
> 
> So please do not claim that it does not affect  existing  boards.  It
> does!
> 
> Best regards,
> 
> Wolfgang Denk
> 
> --
> See us @ Embedded/Electronica Munich, Nov 09 - 12, Hall A.6 Booth 513
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> There are some things worth dying for.
> 	-- Kirk, "Errand of Mercy", stardate 3201.7
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-04-03 21:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-02 22:22 [U-Boot-Users] [PATCH] 16-bit NAND support Zhang, Jian
2004-11-02 23:05 ` Wolfgang Denk
2004-12-13  8:13 ` Pankaj GOYAL
2004-12-13  9:11   ` Wolfgang Denk
2005-04-03 21:37 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2004-11-02 23:12 Zhang, Jian
2004-11-02 23:20 ` Wolfgang Denk
2004-11-02 23:41 Woodruff, Richard
2004-11-03  0:21 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox