public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Updates NAND Flash controller support in PPC 440 EP/GR/x
@ 2006-10-18 21:38 Jeff Mann
  2006-10-20 12:23 ` Stefan Roese
  0 siblings, 1 reply; 7+ messages in thread
From: Jeff Mann @ 2006-10-18 21:38 UTC (permalink / raw)
  To: u-boot

Stefan:
>Please give the attached version a try and let me know if it works for
you. If nobody objects this will go into the official tree soon.

It looks good, but I see one minor problem: in nand_init(...) in
drivers/nand/nand.c, nand_curr_device is set to the first nand device
that is found. In the nand flash controller driver board_nand_init(...),
the chip select is set. So after two or more devices are found, the chip
select is left set to the last device while nand_curr_device is set for
the first. A call to board_nand_select_device(...) is needed at the end
of nand_init(...) to set the chip selects correctly.

-Jeff

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [U-Boot-Users] [PATCH] Updates NAND Flash controller support in PPC 440 EP/GR/x
@ 2006-10-10 13:06 Jeff Mann
  2006-10-18 14:44 ` Stefan Roese
  0 siblings, 1 reply; 7+ messages in thread
From: Jeff Mann @ 2006-10-10 13:06 UTC (permalink / raw)
  To: u-boot

Resend of the correct file. Sorry about that.

> *CHANGELOG
>  updates the NAND flash controller support for PPC 440 EP/GR/x 
> processors to allow for multiple nand devices on the controller.
>  Patch By Jeffrey Mann, Embedded Planet.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc440NDFC.patch
Type: application/octet-stream
Size: 6310 bytes
Desc: ppc440NDFC.patch
Url : http://lists.denx.de/pipermail/u-boot/attachments/20061010/eb675e38/attachment.obj 

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [U-Boot-Users] [PATCH] Updates NAND Flash controller support in PPC 440 EP/GR/x
@ 2006-10-09 21:36 Jeff Mann
  2006-10-10  9:48 ` Stefan Roese
  0 siblings, 1 reply; 7+ messages in thread
From: Jeff Mann @ 2006-10-09 21:36 UTC (permalink / raw)
  To: u-boot

This patch updates the NAND flash controller support for PPC 440 EP/GR/x
processors to support up to the maximum of four devices on the
controller. In addition, the NAND initialization streamlines the
additional of future controller support for future boards by calling the
chip select function through a function (nand_select_device(void)) in
nand.c such that calls to board or processor specific functions can be
added in one place instead of in several of the nand files. 

As discusses with Stefan, the configuration format is 
	#define CFG_NAND_BASE_LIST	{ CFG_NAND_BASE + 1,
CFG_NAND_BASE + 2 ....}

The Sequoia board will need to be updated, which I will do when we get
the next build of them back here in a few days. 
------------------

*CHANGELOG
 updates the NAND flash controller support for PPC 440 EP/GR/x
processors to allow for multiple nand devices on the controller.
 Patch By Jeffrey Mann, Embedded Planet.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: M41T62.patch
Type: application/octet-stream
Size: 7305 bytes
Desc: M41T62.patch
Url : http://lists.denx.de/pipermail/u-boot/attachments/20061009/0d033615/attachment.obj 

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

end of thread, other threads:[~2006-10-21 10:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-18 21:38 [U-Boot-Users] [PATCH] Updates NAND Flash controller support in PPC 440 EP/GR/x Jeff Mann
2006-10-20 12:23 ` Stefan Roese
2006-10-21 10:04   ` Stefan Roese
  -- strict thread matches above, loose matches on Subject: below --
2006-10-10 13:06 Jeff Mann
2006-10-18 14:44 ` Stefan Roese
2006-10-09 21:36 Jeff Mann
2006-10-10  9:48 ` Stefan Roese

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