mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
arm64: zynqmp: Update device tree properties for nand flash
Update the following device tree properties for nand flash - Set software ecc mode. - Set bch as ecc algo. - Set read block to 0. Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
cde1aaeae2
commit
fbf043d7e6
1 changed files with 8 additions and 0 deletions
|
@ -124,6 +124,10 @@
|
||||||
reg = <0x0>;
|
reg = <0x0>;
|
||||||
#address-cells = <0x2>;
|
#address-cells = <0x2>;
|
||||||
#size-cells = <0x1>;
|
#size-cells = <0x1>;
|
||||||
|
nand-ecc-mode = "soft";
|
||||||
|
nand-ecc-algo = "bch";
|
||||||
|
nand-rb = <0>;
|
||||||
|
label = "main-storage-0";
|
||||||
|
|
||||||
partition@0 { /* for testing purpose */
|
partition@0 { /* for testing purpose */
|
||||||
label = "nand-fsbl-uboot";
|
label = "nand-fsbl-uboot";
|
||||||
|
@ -154,6 +158,10 @@
|
||||||
reg = <0x1>;
|
reg = <0x1>;
|
||||||
#address-cells = <0x2>;
|
#address-cells = <0x2>;
|
||||||
#size-cells = <0x1>;
|
#size-cells = <0x1>;
|
||||||
|
nand-ecc-mode = "soft";
|
||||||
|
nand-ecc-algo = "bch";
|
||||||
|
nand-rb = <0>;
|
||||||
|
label = "main-storage-1";
|
||||||
|
|
||||||
partition@0 { /* for testing purpose */
|
partition@0 { /* for testing purpose */
|
||||||
label = "nand1-fsbl-uboot";
|
label = "nand1-fsbl-uboot";
|
||||||
|
|
Loading…
Reference in a new issue