summaryrefslogtreecommitdiff
path: root/include/linux/mtd/onenand_regs.h
diff options
context:
space:
mode:
authorKyungmin Park <kmpark@infradead.org>2008-08-19 08:42:53 +0900
committerScott Wood <scottwood@freescale.com>2008-08-21 13:50:20 -0500
commitbfd7f38614e21f745b6d6845fcc616ebc5e4d36f (patch)
treef72c120c39a8a6b51e57d22d600571e29aaa976e /include/linux/mtd/onenand_regs.h
parent8d765456c1d33f2010d2717ee58de7647fdc6346 (diff)
Fix OneNAND read_oob/write_oob functions compatability
Also sync with kernel OneNAND codes Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include/linux/mtd/onenand_regs.h')
-rw-r--r--include/linux/mtd/onenand_regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mtd/onenand_regs.h b/include/linux/mtd/onenand_regs.h
index c8a9f3e904..6a8aa28b1b 100644
--- a/include/linux/mtd/onenand_regs.h
+++ b/include/linux/mtd/onenand_regs.h
@@ -83,6 +83,8 @@
* Start Address 1 F100h (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)