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

Sebastian Hesselbarth sebastian.hesselbarth at gmail.com
Mon Oct 12 00:32:48 PDT 2015


On 12.10.2015 08:28, Sascha Hauer wrote:
> 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.

Sorry, I simply failed to add this patch to the series. I'll
send the missing patch later today and make sure it'll be
included in v2 once all issues have been worked out.

Sebastian





More information about the barebox mailing list