diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-09-05 12:59:29 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-09-05 12:59:29 +0200 |
commit | b40aeb00d32f07c5b1b617ea4e88032cb895d8b3 (patch) | |
tree | f4161ad66628cd2c2733161d90c18bfa69eb5d8a /include | |
parent | 6cb993c0cd0644d7b559cda6b84e4c196fc029dc (diff) | |
parent | 466b62f4f3ed361c0e60c8e345ffe2cb0733594e (diff) | |
download | barebox-b40aeb00d32f07c5b1b617ea4e88032cb895d8b3.tar.gz barebox-b40aeb00d32f07c5b1b617ea4e88032cb895d8b3.tar.xz |
Merge branch 'for-next/omap'
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mtd/nand.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 4a492b5bcb..d2f864897c 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -169,6 +169,8 @@ typedef enum { #define NAND_NO_READRDY 0x00000100 /* Chip does not allow subpage writes */ #define NAND_NO_SUBPAGE_WRITE 0x00000200 +/* Buswitdh shal be autodetected */ +#define NAND_BUSWIDTH_AUTO 0x00080000 /* Options valid for Samsung large page devices */ @@ -451,6 +453,7 @@ struct nand_chip { int (*errstat)(struct mtd_info *mtd, struct nand_chip *this, int state, int status, int page); int (*write_page)(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int page, int cached, int raw); + int (*set_buswidth)(struct mtd_info *mtd, struct nand_chip *this, int buswidth); int chip_delay; unsigned int options; |