aspeed/sdmc: Make ast2600 default 1G
Most boards have this much. Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-id: 20191119141211.25716-7-clg@kaod.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
		
							parent
							
								
									66cc84a1a3
								
							
						
					
					
						commit
						d3ff9e69b7
					
				@ -208,10 +208,10 @@ static int ast2600_rambits(AspeedSDMCState *s)
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* use a common default */
 | 
					    /* use a common default */
 | 
				
			||||||
    warn_report("Invalid RAM size 0x%" PRIx64 ". Using default 512M",
 | 
					    warn_report("Invalid RAM size 0x%" PRIx64 ". Using default 1024M",
 | 
				
			||||||
                s->ram_size);
 | 
					                s->ram_size);
 | 
				
			||||||
    s->ram_size = 512 << 20;
 | 
					    s->ram_size = 1024 << 20;
 | 
				
			||||||
    return ASPEED_SDMC_AST2600_512MB;
 | 
					    return ASPEED_SDMC_AST2600_1024MB;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void aspeed_sdmc_reset(DeviceState *dev)
 | 
					static void aspeed_sdmc_reset(DeviceState *dev)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user