mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-09-25 08:04:07 +00:00
nand: export symbols needed for stmp3xxx nand
nand: increase max nand page and oob sizes Signed-off-by: Rob Herring <r.herring@freescale.com>
This commit is contained in:
@@ -43,8 +43,8 @@ extern void nand_wait_ready(struct mtd_info *mtd);
|
||||
* is supported now. If you add a chip with bigger oobsize/page
|
||||
* adjust this accordingly.
|
||||
*/
|
||||
#define NAND_MAX_OOBSIZE 128
|
||||
#define NAND_MAX_PAGESIZE 4096
|
||||
#define NAND_MAX_OOBSIZE (218 * NAND_MAX_CHIPS)
|
||||
#define NAND_MAX_PAGESIZE (4096 * NAND_MAX_CHIPS)
|
||||
|
||||
/*
|
||||
* Constants for hardware specific CLE/ALE/NCE function
|
||||
@@ -546,7 +546,10 @@ extern int nand_erase_nand(struct mtd_info *mtd, struct erase_info *instr,
|
||||
int allowbbt);
|
||||
extern int nand_do_read(struct mtd_info *mtd, loff_t from, size_t len,
|
||||
size_t * retlen, uint8_t * buf);
|
||||
|
||||
extern int nand_do_read_ops(struct mtd_info *mtd, loff_t from,
|
||||
struct mtd_oob_ops *ops);
|
||||
extern int nand_do_write_ops(struct mtd_info *mtd, loff_t to,
|
||||
struct mtd_oob_ops *ops);
|
||||
/*
|
||||
* Constants for oob configuration
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user