summaryrefslogtreecommitdiff
path: root/doc/develop
diff options
context:
space:
mode:
authorChris Packham <[email protected]>2022-08-25 16:59:49 +1200
committerStefan Roese <[email protected]>2022-10-06 10:15:34 +0200
commit1ba0018218e141d444d75e9a59e397704292fe68 (patch)
treee380d3eb097e5cba70f91beca39113360e3d0c5c /doc/develop
parent88383fd8649577cf899bc61362e94c8a392f0b9f (diff)
mtd: nand: pxa3xx: simplify ECC hardware parameters
Replace the if/else chain in pxa_ecc_init() with a lookup table. This makes the code more concise and hopefully easier to follow. Remove the unused ecc_layout tables and replace it with a single dummy one (the pxa3xx driver has never used this but the mtd subsystem expects it to be provided). Tested on an Allied Telesis x530 switch with Micron MT29F2G08ABAEAWP NAND Flash. Signed-off-by: Chris Packham <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions