mtd: nand: raw: allow to disable unneeded ECC layouts
authorStefan Agner <stefan.agner@toradex.com>
Thu, 6 Dec 2018 13:57:09 +0000 (14:57 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 16 Jan 2019 21:14:45 +0000 (16:14 -0500)
commita38c3af868ad2a7a7c04667e559570d5f81b1d51
tree264995e66034673b57767d226fe491cda6219a1c
parentaac0c29d4b8418c5c78b552070ffeda022b16949
mtd: nand: raw: allow to disable unneeded ECC layouts

Each ECC layout consumes about 2984 bytes in the .data section. Allow
to disable the default ECC layouts if a driver is known to provide its
own ECC layout.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/Kconfig
drivers/mtd/nand/raw/nand_base.c