diff options
author | Wolfgang Denk <wd@denx.de> | 2009-08-28 00:17:41 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-08-28 00:17:41 +0200 |
commit | 5928da0193d31f52f4a5b9f6ed3d3f0390ffd2c1 (patch) | |
tree | cbd840fb27b43725aa1475fea7a5418fc2a37186 /include/linux/mtd/nand.h | |
parent | ce3277a6f2c082f39596d3d3d88dd0a5bc91439d (diff) | |
parent | 77b351cd0f20483eefa09bebebb3e0cbf5555b2c (diff) | |
download | u-boot-imx-5928da0193d31f52f4a5b9f6ed3d3f0390ffd2c1.zip u-boot-imx-5928da0193d31f52f4a5b9f6ed3d3f0390ffd2c1.tar.gz u-boot-imx-5928da0193d31f52f4a5b9f6ed3d3f0390ffd2c1.tar.bz2 |
Merge branch 'next' of git://git.denx.de/u-boot-nand-flash into next
Diffstat (limited to 'include/linux/mtd/nand.h')
-rw-r--r-- | include/linux/mtd/nand.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 3e0044b..cb7c19a 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -128,6 +128,7 @@ typedef enum { NAND_ECC_SOFT, NAND_ECC_HW, NAND_ECC_HW_SYNDROME, + NAND_ECC_HW_OOB_FIRST, } nand_ecc_modes_t; /* @@ -268,13 +269,13 @@ struct nand_ecc_ctrl { uint8_t *calc_ecc); int (*read_page_raw)(struct mtd_info *mtd, struct nand_chip *chip, - uint8_t *buf); + uint8_t *buf, int page); void (*write_page_raw)(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf); int (*read_page)(struct mtd_info *mtd, struct nand_chip *chip, - uint8_t *buf); + uint8_t *buf, int page); int (*read_subpage)(struct mtd_info *mtd, struct nand_chip *chip, uint32_t offs, uint32_t len, |