diff options
author | Kyungmin Park <kmpark@infradead.org> | 2008-08-19 08:42:53 +0900 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2008-08-21 13:50:20 -0500 |
commit | bfd7f38614e21f745b6d6845fcc616ebc5e4d36f (patch) | |
tree | f72c120c39a8a6b51e57d22d600571e29aaa976e /include/linux/mtd/onenand_regs.h | |
parent | 8d765456c1d33f2010d2717ee58de7647fdc6346 (diff) | |
download | u-boot-imx-bfd7f38614e21f745b6d6845fcc616ebc5e4d36f.zip u-boot-imx-bfd7f38614e21f745b6d6845fcc616ebc5e4d36f.tar.gz u-boot-imx-bfd7f38614e21f745b6d6845fcc616ebc5e4d36f.tar.bz2 |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mtd/onenand_regs.h b/include/linux/mtd/onenand_regs.h index c8a9f3e..6a8aa28 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) |