[U-Boot] [PATCH v3] NAND: Add 16bit NAND support for the NDFC

Scott Wood scottwood at freescale.com
Thu Jun 23 23:09:39 CEST 2011


On Thu, Jun 16, 2011 at 04:06:22PM -0400, Alex Waterman wrote:
> From 99efc91f7a3d55bcf0e839ae30c286fd08166010 Mon Sep 17 00:00:00 2001
> From: Alex Waterman <awaterman at dawning.com>
> Date: Thu, 19 May 2011 15:08:36 -0400
> Subject: [PATCH] NAND: Add 16bit NAND support for 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 <awaterman at dawning.com>
> ---

Applied to u-boot-nand-flash next

-Scott



More information about the U-Boot mailing list