mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 11:47:02 +07: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>;
|
|
};
|