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
This commit is contained in:
		
							parent
							
								
									5d498a12b6
								
							
						
					
					
						commit
						1a94d0554d
					
				|  | @ -140,6 +140,8 @@ | ||||||
| 		nand-ecc-algo = "bch"; | 		nand-ecc-algo = "bch"; | ||||||
| 		nand-rb = <0>; | 		nand-rb = <0>; | ||||||
| 		label = "main-storage-0"; | 		label = "main-storage-0"; | ||||||
|  | 		nand-ecc-step-size = <1024>; | ||||||
|  | 		nand-ecc-strength = <24>; | ||||||
| 
 | 
 | ||||||
| 		partition@0 {	/* for testing purpose */ | 		partition@0 {	/* for testing purpose */ | ||||||
| 			label = "nand-fsbl-uboot"; | 			label = "nand-fsbl-uboot"; | ||||||
|  | @ -174,6 +176,8 @@ | ||||||
| 		nand-ecc-algo = "bch"; | 		nand-ecc-algo = "bch"; | ||||||
| 		nand-rb = <0>; | 		nand-rb = <0>; | ||||||
| 		label = "main-storage-1"; | 		label = "main-storage-1"; | ||||||
|  | 		nand-ecc-step-size = <1024>; | ||||||
|  | 		nand-ecc-strength = <24>; | ||||||
| 
 | 
 | ||||||
| 		partition@0 {	/* for testing purpose */ | 		partition@0 {	/* for testing purpose */ | ||||||
| 			label = "nand1-fsbl-uboot"; | 			label = "nand1-fsbl-uboot"; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue