aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAmit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>2021-09-15 15:46:36 +0200
committerMichal Simek <michal.simek@xilinx.com>2021-09-30 12:28:34 +0200
commit1a94d0554d0d8930e8f6e40cf4cd396ca61edd9c (patch)
tree8aa60704cd4e874d650019599e121359a02b8004 /arch
parent5d498a12b6416e2d692d720083eb6c57497112c4 (diff)
downloadu-boot-1a94d0554d0d8930e8f6e40cf4cd396ca61edd9c.zip
u-boot-1a94d0554d0d8930e8f6e40cf4cd396ca61edd9c.tar.gz
u-boot-1a94d0554d0d8930e8f6e40cf4cd396ca61edd9c.tar.bz2
arm64: zynqmp: Add device tree properties for nand flash
Add ecc strength & ecc step size properties for nand flash devices, when operating in software-ecc mode. Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Link: https://lore.kernel.org/r/866f4b888129ff0213df9cdb51b5529b199fb7b7.1631713594.git.michal.simek@xilinx.com
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
index 4225a95..f32f87a 100644
--- a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
+++ b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
@@ -140,6 +140,8 @@
nand-ecc-algo = "bch";
nand-rb = <0>;
label = "main-storage-0";
+ nand-ecc-step-size = <1024>;
+ nand-ecc-strength = <24>;
partition@0 { /* for testing purpose */
label = "nand-fsbl-uboot";
@@ -174,6 +176,8 @@
nand-ecc-algo = "bch";
nand-rb = <0>;
label = "main-storage-1";
+ nand-ecc-step-size = <1024>;
+ nand-ecc-strength = <24>;
partition@0 { /* for testing purpose */
label = "nand1-fsbl-uboot";