mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 21:14:44 +08:00
8ab5f1fbd3
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>
19 lines
400 B
Plaintext
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>;
|
|
};
|