From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 19 May 2011 21:50:09 +0200 Subject: [U-Boot] [PATCH] [NAND] Fixes 16bit NAND support with the NDFC In-Reply-To: <4DD56FCF.2010306@dawning.com> References: <4DD56FCF.2010306@dawning.com> Message-ID: <20110519195009.AD4121491B0E@gemini.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 Dear Alex Waterman, In message <4DD56FCF.2010306@dawning.com> you wrote: > From ad2238044b9abc5a2094096219a1256a8ad091b0 Mon Sep 17 00:00:00 2001 > From: Alex Waterman > Date: Thu, 19 May 2011 15:08:36 -0400 > Subject: [PATCH] [NAND] Fixes 16bit NAND support with the NDFC > > This patch adds support for 16 bit NAND devices attached to the > NDFC on ppc4xx processors. Two config entries were added: > > CONFIG_SYS_NDFC_16 - Setting this tells the NDFC that a > 16 bit device is attached. > CONFIG_SYS_NDFC_EBC0_CFG - This is for the External Bus > Controller configuration register. > > Also, a new ndfc_read_byte() function was added which does not > first convert the data to little endian. > > The NAND SPL was also modified to do 16bit bad block testing > when a 16 bit chip is being used. > > Signed-off-by: Alex Waterman > Cc: Scott Wood > Cc: Stefan Roese > --- > drivers/mtd/nand/ndfc.c | 34 +++++++++++++++++++++++++++++----- > nand_spl/nand_boot.c | 11 ++++++++--- > 2 files changed, 37 insertions(+), 8 deletions(-) Please document the new CONFIG_SYS_* options in the README. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Who alone has reason to *lie himself out* of actuality? He who *suffers* from it." - Friedrich Nietzsche