1 // SPDX-License-Identifier: GPL-2.0-or-later O 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 /* 2 /* 3 * Broadcom BCM470X / BCM5301X Nand chip defau 3 * Broadcom BCM470X / BCM5301X Nand chip defaults. 4 * 4 * 5 * This should be included if the NAND control 5 * This should be included if the NAND controller is on chip select 0 6 * and uses 8 bit ECC. 6 * and uses 8 bit ECC. 7 * 7 * 8 * Copyright (C) 2015 Hauke Mehrtens <hauke@hau 8 * Copyright (C) 2015 Hauke Mehrtens <hauke@hauke-m.de> 9 */ 9 */ 10 10 11 #include "bcm5301x-nand-cs0.dtsi" 11 #include "bcm5301x-nand-cs0.dtsi" 12 12 13 &nandcs { 13 &nandcs { 14 nand-ecc-algo = "bch"; 14 nand-ecc-algo = "bch"; 15 nand-ecc-strength = <8>; 15 nand-ecc-strength = <8>; 16 nand-ecc-step-size = <512>; 16 nand-ecc-step-size = <512>; 17 }; 17 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.