Home
last modified time | relevance | path

Searched hist:eced4626e4d8ea2fd2662045dc7aad0f07db7a41 (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/
H A DREADMEeced4626e4d8ea2fd2662045dc7aad0f07db7a41 Thu May 19 14:08:36 CDT 2011 Alex Waterman <awaterman@dawning.com> 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@dawning.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>