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>
This commit is contained in:
committed by
Scott Wood
parent
672ed2aee9
commit
e93c1c169d
@@ -29,8 +29,10 @@ struct fsl_upm_nand {
|
||||
int upm_cmd_offset;
|
||||
int upm_addr_offset;
|
||||
int wait_pattern;
|
||||
int (*dev_ready)(void);
|
||||
int (*dev_ready)(int chip_nr);
|
||||
int chip_delay;
|
||||
int chip_offset;
|
||||
int chip_nr;
|
||||
|
||||
/* no need to fill */
|
||||
int last_ctrl;
|
||||
|
||||
Reference in New Issue
Block a user