]>
Commit | Line | Data |
---|---|---|
2b3db67c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
9faa5960 HM |
2 | /* |
3 | * Broadcom BCM470X / BCM5301X Nand chip defaults. | |
4 | * | |
5 | * This should be included if the NAND controller is on chip select 0 | |
6 | * and uses 8 bit ECC. | |
7 | * | |
8 | * Copyright (C) 2015 Hauke Mehrtens <hauke@hauke-m.de> | |
9faa5960 HM |
9 | */ |
10 | ||
8ab5f1fb | 11 | #include "bcm5301x-nand-cs0.dtsi" |
9faa5960 | 12 | |
8ab5f1fb RM |
13 | &nandcs { |
14 | nand-ecc-algo = "bch"; | |
15 | nand-ecc-strength = <8>; | |
16 | nand-ecc-step-size = <512>; | |
9faa5960 | 17 | }; |