Add multi chip support to the FSL-UPM driver
authorWolfgang Grandegger <wg@grandegger.com>
Wed, 11 Feb 2009 17:38:21 +0000 (18:38 +0100)
committerScott Wood <scottwood@freescale.com>
Mon, 23 Mar 2009 20:53:38 +0000 (15:53 -0500)
commite93c1c169d49eda7babad9c781f541e2e34f0ff0
treef02c89ca6f98af1bd2e64605ae531333943b9713
parent672ed2aee91b4856f6671fc72cd34168d8f1b624
Add multi chip support to the FSL-UPM driver

This patch adds support for multi-chip NAND devices to the FSL-UPM
driver. The "dev_ready" callback of the "struct fsl_upm_nand" is now
called with the argument "chip_nr" to allow testing the proper chip
select line. The NAND support of the MPC8360ERDK is updated as well.
No other boards are currently using the FSL UPM driver.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
board/freescale/mpc8360erdk/nand.c
drivers/mtd/nand/fsl_upm.c
include/linux/mtd/fsl_upm.h