dt-bindings: nand: meson: support for 512B ECC step size

Meson NAND supports both 512B and 1024B ECC step size, so replace
'const' for only 1024B step size with enum for both sizes.

Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230711122129.2635558-2-AVKrasnov@sberdevices.ru
This commit is contained in:
Arseniy Krasnov 2023-07-11 15:21:27 +03:00 committed by Miquel Raynal
parent e0b3187f6e
commit c3519aed2a

View File

@ -50,7 +50,7 @@ patternProperties:
const: hw
nand-ecc-step-size:
const: 1024
enum: [512, 1024]
nand-ecc-strength:
enum: [8, 16, 24, 30, 40, 50, 60]