[PATCH 09/17] mtd: nand_mrvl_nfc: Get ecc parameters from DT

Sascha Hauer s.hauer at pengutronix.de
Sun Oct 11 23:28:58 PDT 2015


On Sun, Oct 11, 2015 at 10:39:52PM +0200, Robert Jarzmik wrote:
> 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

Yes, we currently do not have these functions in barebox.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list