summaryrefslogtreecommitdiff
path: root/include/linux/mtd/onenand_regs.h
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2009-10-01 17:20:08 +0900
committerTom Rix <Tom.Rix@windriver.com>2009-10-13 21:13:55 -0500
commit4678d674f0cacc983dca7f6b9933cd8291c9797c (patch)
tree28ebf052f71d17469107998bfceba24b5ae2a67a /include/linux/mtd/onenand_regs.h
parent399e5ae0d0b2eb4663fc5784201968c07d45afac (diff)
downloadu-boot-imx-4678d674f0cacc983dca7f6b9933cd8291c9797c.zip
u-boot-imx-4678d674f0cacc983dca7f6b9933cd8291c9797c.tar.gz
u-boot-imx-4678d674f0cacc983dca7f6b9933cd8291c9797c.tar.bz2
s5pc1xx: support onenand driver
This patch includes the onenand driver for s5pc100 Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> 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, 4 insertions, 0 deletions
diff --git a/include/linux/mtd/onenand_regs.h b/include/linux/mtd/onenand_regs.h
index fc63380..07fed1c 100644
--- a/include/linux/mtd/onenand_regs.h
+++ b/include/linux/mtd/onenand_regs.h
@@ -121,6 +121,8 @@
#define ONENAND_CMD_LOCK_TIGHT (0x2C)
#define ONENAND_CMD_UNLOCK_ALL (0x27)
#define ONENAND_CMD_ERASE (0x94)
+#define ONENAND_CMD_MULTIBLOCK_ERASE (0x95)
+#define ONENAND_CMD_ERASE_VERIFY (0x71)
#define ONENAND_CMD_RESET (0xF0)
#define ONENAND_CMD_READID (0x90)
@@ -184,7 +186,9 @@
* ECC Status Reigser FF00h (R)
*/
#define ONENAND_ECC_1BIT (1 << 0)
+#define ONENAND_ECC_1BIT_ALL (0x5555)
#define ONENAND_ECC_2BIT (1 << 1)
#define ONENAND_ECC_2BIT_ALL (0xAAAA)
+#define ONENAND_ECC_4BIT_UNCORRECTABLE (0x1010)
#endif /* __ONENAND_REG_H */