Skip to content
Snippets Groups Projects
Commit eced4626 authored by Alex Waterman's avatar Alex Waterman Committed by Scott Wood
Browse files

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: default avatarAlex Waterman <awaterman@dawning.com>
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent c9494866
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment