Enable multi chip support in the NAND layer
authorWolfgang Grandegger <wg@grandegger.com>
Wed, 11 Feb 2009 17:38:20 +0000 (18:38 +0100)
committerScott Wood <scottwood@freescale.com>
Mon, 23 Mar 2009 20:53:37 +0000 (15:53 -0500)
commit672ed2aee91b4856f6671fc72cd34168d8f1b624
treeb2eec2d99fbabf1844a8c2a01e93913000f8828c
parent4ace2823bc1fcc96874069a9a8c0821ff4f95f5d
Enable multi chip support in the NAND layer

This patch adds support for NAND_MAX_CHIPS to the MTD NAND layer.
Multi-chips devices are displayed as shown:

  Device 0: 2x NAND 512MiB 3,3V 8-bit, sector size 128 KiB

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
common/cmd_nand.c
drivers/mtd/nand/nand.c
drivers/mtd/nand/nand_base.c