linux/arch/arm/boot/dts/bcm5301x-nand-cs0-bch8.dtsi
Rafał Miłecki 8ab5f1fbd3 ARM: BCM5301X: Specify NAND chip select and ECC in separated files
Using separated file with common chip select parameters will allow us
adding other ECC setups without code duplication.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-07-06 19:42:26 -07:00

19 lines
400 B
Plaintext

/*
* Broadcom BCM470X / BCM5301X Nand chip defaults.
*
* This should be included if the NAND controller is on chip select 0
* and uses 8 bit ECC.
*
* Copyright (C) 2015 Hauke Mehrtens <hauke@hauke-m.de>
*
* Licensed under the GNU/GPL. See COPYING for details.
*/
#include "bcm5301x-nand-cs0.dtsi"
&nandcs {
nand-ecc-algo = "bch";
nand-ecc-strength = <8>;
nand-ecc-step-size = <512>;
};