diff options
| author | 2016-06-06 13:59:13 +0200 | |
|---|---|---|
| committer | 2016-07-11 08:40:12 +0200 | |
| commit | a92c721dc638b3745266ffe85617fe54dfadff19 (patch) | |
| tree | a86c3be8470dff254e9a028cd73a51934e25abb4 /scripts/patch-kernel | |
| parent | mtd: nand: sunxi: prefer 1k ECC blocks when applicable (diff) | |
| download | linux-dev-a92c721dc638b3745266ffe85617fe54dfadff19.tar.xz linux-dev-a92c721dc638b3745266ffe85617fe54dfadff19.zip | |
mtd: nand: sunxi: check ecc->size values
Verify that the ecc->size value is either 512 or 1024 bytes.
This should always be the case if this field was assigned to the
nand->ecc_step_size_ds value, but can be wrong when the user overloaded
this value with the nand-ecc-step-size DT property.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
