mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-22 07:01:39 +00:00
mtd: nand: Increase max sizes of OOB and Page size
Increase max sizes for OOB, Page size and eccpos to suit for Micron MT29F32G08 part Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
This commit is contained in:
parent
d3963721d9
commit
2580a2a7e7
2 changed files with 3 additions and 3 deletions
|
@ -101,7 +101,7 @@ struct mtd_oob_ops {
|
||||||
#ifdef CONFIG_SYS_NAND_MAX_ECCPOS
|
#ifdef CONFIG_SYS_NAND_MAX_ECCPOS
|
||||||
#define MTD_MAX_ECCPOS_ENTRIES_LARGE CONFIG_SYS_NAND_MAX_ECCPOS
|
#define MTD_MAX_ECCPOS_ENTRIES_LARGE CONFIG_SYS_NAND_MAX_ECCPOS
|
||||||
#else
|
#else
|
||||||
#define MTD_MAX_ECCPOS_ENTRIES_LARGE 640
|
#define MTD_MAX_ECCPOS_ENTRIES_LARGE 680
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -46,8 +46,8 @@ extern void nand_wait_ready(struct mtd_info *mtd);
|
||||||
* is supported now. If you add a chip with bigger oobsize/page
|
* is supported now. If you add a chip with bigger oobsize/page
|
||||||
* adjust this accordingly.
|
* adjust this accordingly.
|
||||||
*/
|
*/
|
||||||
#define NAND_MAX_OOBSIZE 744
|
#define NAND_MAX_OOBSIZE 1216
|
||||||
#define NAND_MAX_PAGESIZE 8192
|
#define NAND_MAX_PAGESIZE 16384
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Constants for hardware specific CLE/ALE/NCE function
|
* Constants for hardware specific CLE/ALE/NCE function
|
||||||
|
|
Loading…
Add table
Reference in a new issue