This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mtd: nand: realtek-ecc: support OOB size override from device tree | |
| Some NAND chips have a physical OOB size larger than what vendor | |
| firmware actually uses for its ECC layout. For example the Macronix | |
| MX35LF1G24AD found in Netlink HG323DAC has 128 byte OOB but vendor | |
| firmware only uses the first 64 bytes for the BCH6 ECC layout. The | |
| Realtek ECC engine strictly validates flash geometry against its | |
| supported configuration which causes probe failure on these chips. | |
| Add support for a "realtek,ecc-oob-size" device tree property on the |