summaryrefslogtreecommitdiff
path: root/include/linux/mtd/fsl_upm.h
diff options
context:
space:
mode:
authorWolfgang Grandegger <wg@grandegger.com>2009-02-11 18:38:22 +0100
committerScott Wood <scottwood@freescale.com>2009-03-23 15:53:39 -0500
commit06e9f7df054d26d7f49c56bf9a6844b193ad6313 (patch)
tree8ceb149af283db4061e695415e0f1d4f3abe0df2 /include/linux/mtd/fsl_upm.h
parente93c1c169d49eda7babad9c781f541e2e34f0ff0 (diff)
downloadu-boot-imx-06e9f7df054d26d7f49c56bf9a6844b193ad6313.zip
u-boot-imx-06e9f7df054d26d7f49c56bf9a6844b193ad6313.tar.gz
u-boot-imx-06e9f7df054d26d7f49c56bf9a6844b193ad6313.tar.bz2
Add support for TQM-specific chip select logic to FSL-UPM
For the NAND chips on the TQM8548 modules, a special chip-select logic is used. It uses dedicated address lines to be set via UPM machine address register (mar). This patch adds such support to the FSL-UPM driver. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include/linux/mtd/fsl_upm.h')
-rw-r--r--include/linux/mtd/fsl_upm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/fsl_upm.h b/include/linux/mtd/fsl_upm.h
index ada11c1..10f5ddd 100644
--- a/include/linux/mtd/fsl_upm.h
+++ b/include/linux/mtd/fsl_upm.h
@@ -28,6 +28,7 @@ struct fsl_upm_nand {
int width;
int upm_cmd_offset;
int upm_addr_offset;
+ int upm_mar_chip_offset;
int wait_pattern;
int (*dev_ready)(int chip_nr);
int chip_delay;