Commit 2f25ae97fe4b424d88d765797c46456c7c0f1bae
Committed by
Artem Bityutskiy
1 parent
a4742d5150
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
mtd: nand: Increase the ecc placement locations to 640
Few devices like H27UBG8T2CTR have a writesize/oobsize of 8KB/640B. This means that the maximum oobsize has gone up to 640 bytes and consequently the maximum ecc placement locations have also gone up to 640. Signed-off-by: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
include/linux/mtd/mtd.h
... | ... | @@ -98,7 +98,7 @@ |
98 | 98 | }; |
99 | 99 | |
100 | 100 | #define MTD_MAX_OOBFREE_ENTRIES_LARGE 32 |
101 | -#define MTD_MAX_ECCPOS_ENTRIES_LARGE 448 | |
101 | +#define MTD_MAX_ECCPOS_ENTRIES_LARGE 640 | |
102 | 102 | /* |
103 | 103 | * Internal ECC layout control structure. For historical reasons, there is a |
104 | 104 | * similar, smaller struct nand_ecclayout_user (in mtd-abi.h) that is retained |