Commit a8a16af4 authored by Ricardo Ribalda Delgado's avatar Ricardo Ribalda Delgado Committed by Stefan Roese

ppc4xx: ML507: Use of get_ram_size in board ml507

- Change suggested by WD
Signed-off-by: default avatarRicardo Ribalda Delgado <[email protected]>
Signed-off-by: default avatarStefan Roese <[email protected]>
parent 01a00431
......@@ -27,13 +27,14 @@ int board_pre_init(void)
int checkboard(void)
{
puts ("ML507 Board\n");
puts("ML507 Board\n");
return 0;
}
phys_size_t initdram(int board_type)
{
return CFG_SDRAM_SIZE_MB * 1024 * 1024;
return get_ram_size(XPAR_DDR2_SDRAM_MEM_BASEADDR,
CFG_SDRAM_SIZE_MB * 1024 * 1024);
}
void get_sys_info(sys_info_t * sysInfo)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment