summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/onenand_regs.h
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2007-01-15 17:09:14 +0900
committerKyungmin Park <kyungmin.park@samsung.com>2007-01-18 11:00:31 +0900
commit738d61f53781a9b677cb472cbd740aa74e7dcd6d (patch)
tree45b7e7afb765eb497407295bb611fa2327ebf4a1 /include/linux/mtd/onenand_regs.h
parent9d03280129e84f8cdfd83f84803a4548e3bf697d (diff)
downloadblackbird-op-linux-738d61f53781a9b677cb472cbd740aa74e7dcd6d.tar.gz
blackbird-op-linux-738d61f53781a9b677cb472cbd740aa74e7dcd6d.zip
[MTD] OneNAND: Reduce Double Density Package (DDP) operations
- DDP code clean-up - Reduce block & bufferram operations in DDP Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include/linux/mtd/onenand_regs.h')
-rw-r--r--include/linux/mtd/onenand_regs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mtd/onenand_regs.h b/include/linux/mtd/onenand_regs.h
index e31c8f5d4271..5b46cb52d214 100644
--- a/include/linux/mtd/onenand_regs.h
+++ b/include/linux/mtd/onenand_regs.h
@@ -80,9 +80,11 @@
#define ONENAND_VERSION_PROCESS_SHIFT (8)
/*
- * Start Address 1 F100h (R/W)
+ * Start Address 1 F100h (R/W) & Start Address 2 F101h (R/W)
*/
#define ONENAND_DDP_SHIFT (15)
+#define ONENAND_DDP_CHIP0 (0)
+#define ONENAND_DDP_CHIP1 (1 << ONENAND_DDP_SHIFT)
/*
* Start Address 8 F107h (R/W)
OpenPOWER on IntegriCloud