From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 8 Jun 2009 19:00:52 +0200 Subject: [U-Boot] [PATCH] nand/mpc512x: Add MPC512x NAND support (NFC) In-Reply-To: <200906081254.45715.kosmo@semihalf.com> References: <1244447475-13692-1-git-send-email-sr@denx.de> <200906081254.45715.kosmo@semihalf.com> Message-ID: <200906081900.52451.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 08 June 2009 12:54:45 Piotr Zi?cik wrote: > Monday 08 June 2009 09:51:15 Stefan Roese wrote: > > This patch adds NAND Flash Controller driver for MPC5121 revision 2. > > All device features, except hardware ECC and power management, are > > supported. > > > > This NFC driver replaces the one orignally posted by John Rigby: > > > > "[PATCH] Freescale NFC NAND driver" > > > > It's a port of the Linux driver version posted by Piotr Ziecik a few > > weeks ago. Using this driver has the following advantages (from my poont > > of view): > > > > - Compatibility with the Linux NAND driver (e.g. ECC usage) > > I do not see ADS5121 support in posted driver code. ADS5121 board controls > NAND chip selects via external CPLD and do not use controller chip select > signals. Linux driver has workaround for this special case. Yes, I know. I explicitly removed this code because of two reasons: a) My basic testing platform was the esd mecp5123 board. b) I did some quick tests on the MCP5121ADS with this code (without this ADS specific chip-select handling) and didn't see any error. So I suggest to add the code as is for now. Such board specific routines can be added later on when really needed. Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================