public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] 8/16 bit support for NAND at runtime
@ 2010-03-04 10:32 Vipin KUMAR
  2010-03-04 12:28 ` Wolfgang Denk
  2010-03-23 16:15 ` Scott Wood
  0 siblings, 2 replies; 7+ messages in thread
From: Vipin KUMAR @ 2010-03-04 10:32 UTC (permalink / raw)
  To: u-boot

Hi All,

This query is wrt NAND 8/16 bit device support at runtime. Currently,
the u-boot code can support only one of these at a time.

Although the NAND device in itself can be recognized by reading the
device id, the NAND controllers may need different platform specific
initializations for different device attached.

The current u-boot is written in such a way that
1. Initializes chip->options for a particular buswidth option
2. calls board_nand_init once and proceeds to read the device id

Although it matches the buswidth selected through chip->options and the
the buswidth of device id it reads and returns an error if they don't 
match, probably a better way can be to reinitialize NAND controller 
based on 16 bit device and re-read the device id.

This way both type of devices can be supported at runtime

Please let me know your opinion on this.
Please also let me know if I am missing something

Regards
Vipin

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

end of thread, other threads:[~2010-03-23 16:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-04 10:32 [U-Boot] 8/16 bit support for NAND at runtime Vipin KUMAR
2010-03-04 12:28 ` Wolfgang Denk
2010-03-05  4:42   ` Vipin KUMAR
2010-03-21 16:50     ` Wolfgang Denk
2010-03-23  5:42       ` Swarthout Edward L-SWARTHOU
2010-03-23  5:54       ` Vipin KUMAR
2010-03-23 16:15 ` Scott Wood

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