ARM: zynq: Do not use half memory size for ECC case
Memory size should be specified without ECC place. If you need to have half memory size, please change u-boot configuration. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
		
							parent
							
								
									96a2859e54
								
							
						
					
					
						commit
						10fa49f428
					
				| 
						 | 
					@ -44,7 +44,4 @@ void zynq_ddrc_init(void)
 | 
				
			||||||
	} else {
 | 
						} else {
 | 
				
			||||||
		puts("Memory: ECC disabled\n");
 | 
							puts("Memory: ECC disabled\n");
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					 | 
				
			||||||
	if (width == ZYNQ_DDRC_CTRLREG_BUSWIDTH_16BIT)
 | 
					 | 
				
			||||||
		gd->ram_size /= 2;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue