
John:
The only *real* change is adding the chip select to the least significant two bits of CFG_NAND_BASE. This is then masked by the nand flash controller driver to get the nand controller address and chip select number.
The chip select block of code was moved above the nand block so that the chip selects assigned to nand could be used in the nand configuration block of code. That is all--Just trying to keep it clean.
Jeff
-----Original Message----- From: John Otken [mailto:jotken@softadvances.com] Sent: Tuesday, October 10, 2006 9:59 AM To: Jeff Mann Subject: Re: [U-Boot-Users] [PATCH] Sequoia Updated to work with nand flash controller change
Hi Jeff,
Is this right when CFG_NAND_CS is 3?
+#define CFG_NAND_BASE (CFG_NAND_ADDR + CFG_NAND_CS)
It's hard to tell what changed because most of the patch is moving a block of code 100 or so lines. Was that necessary?
John
Jeff Mann wrote:
*CHANGELOG Makes minor change to nand configuration in sequoia.h config file for
compatibility with nand flash controller change. Patch by Jeffrey Mann, Embedded Planet.