mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
70a0ae1c33
This device uses BCH-1 instead of BCH-8. This fixes ECC errors and makes NAND usable with brcmnand. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
16 lines
268 B
Plaintext
16 lines
268 B
Plaintext
/*
|
|
* Broadcom Northstar NAND.
|
|
*
|
|
* Copyright (C) 2016 Rafał Miłecki <rafal.milecki@gmail.com>
|
|
*
|
|
* Licensed under the ISC license.
|
|
*/
|
|
|
|
#include "bcm5301x-nand-cs0.dtsi"
|
|
|
|
&nandcs {
|
|
nand-ecc-algo = "bch";
|
|
nand-ecc-strength = <1>;
|
|
nand-ecc-step-size = <512>;
|
|
};
|