[PATCH 09/17] mtd: nand_mrvl_nfc: Get ecc parameters from DT
Robert Jarzmik
robert.jarzmik at free.fr
Sun Oct 11 13:39:52 PDT 2015
Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com> writes:
> With DT helpers for ECC step size and strength, now use them on
> Marvell NAND driver.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
This one break the pxa (zylonite310_defconfig) build :
drivers/mtd/nand/nand_mrvl_nfc.c: In function ‘mrvl_nand_probe_dt’:
drivers/mtd/nand/nand_mrvl_nfc.c:1163:2: error: implicit declaration of function ‘of_get_nand_ecc_strength’ [-Werror=implicit-function-declaration]
host->ecc_strength = of_get_nand_ecc_strength(np);
^
drivers/mtd/nand/nand_mrvl_nfc.c:1167:2: error: implicit declaration of function ‘of_get_nand_ecc_step_size’ [-Werror=implicit-function-declaration]
host->ecc_step = of_get_nand_ecc_step_size(np);
^
cc1: some warnings being treated as errors
Cheers.
--
Robert
More information about the barebox
mailing list