
- Index: u-boot/drivers/mtd/nand/fsl_upm.c
*>* =================================================================== *>* --- u-boot.orig/drivers/mtd/nand/fsl_upm.c *>* +++ u-boot/drivers/mtd/nand/fsl_upm.c *>* @@ -90,8 +90,11 @@ static void fun_cmd_ctrl(struct mtd_info *>* mar = cmd << (32 - fun->width); *>* io_addr = fun->upm.io_addr; *>* #if CONFIG_SYS_NAND_MAX_CHIPS > 1 *>* - if (fun->chip_nr > 0) *>* + if (fun->chip_nr > 0) { *>* io_addr += fun->chip_offset * fun->chip_nr; *>* + if (fun->upm_mar_chip_offset) *>* + mar |= fun->upm_mar_chip_offset * fun->chip_nr; *>* + } * above patch is not suitable for 832x becuase mar register has only 26 bit (6 bit are resrved) what should be done
On Sat, Feb 14, 2009 at 2:28 AM, Scott Wood scottwood@freescale.com wrote:
On Wed, Feb 11, 2009 at 06:38:19PM +0100, Wolfgang Grandegger wrote:
The following patch series intends to support the Micron multi-chip NAND device MT29F8G08FAB on the TQM8548 modules from TQ-Components. To offer this multi-chip device as one single device to the user, multi-chip device has been added to the MTD NAND layer and the FSL-UPM-NAND driver.
The TQM8548 support is based on the following patch series sent a few minutes ago:
[PATCH 0/8] MPC85xx: Support for TQM8548-AG and TQM8548-BE
Wolfgang.
Applied 1-5 to u-boot-nand-flash/next, thanks!
-Scott _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot