summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorKonstantin Porotchkin <[email protected]>2018-08-29 11:56:15 +0300
committerStefan Roese <[email protected]>2018-09-19 09:02:34 +0200
commit2057eb0b163ac31fee00ae6ef9e8e27dcca65fd5 (patch)
tree2243bf2d827d3de4e8cce3c31aafc1de2cd8ede2 /include/linux/string.h
parentb0d7c106c9703498f12bb1254b02574c803874a0 (diff)
fix: nand: Replace hardcoded page chunk size with calculated one
Replace the hardcoded value of page chink with value that depends on flash page size and ECC strength. This fixes nand access errors for 2K page flashes with 8-bit ECC. Move the initial flash commannd function assignment past the ECC structures initialization for eliminating usage of hardcoded page chunk size value. Signed-off-by: Konstantin Porotchkin <[email protected]> Reviewed-by: Igal Liberman <[email protected]> Cc: Stefan Roese <[email protected]> Cc: Simon Glass <[email protected]> Signed-off-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions