mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-07 10:43:47 +09:00
ppc4xx: ML507: Use of get_ram_size in board ml507
- Change suggested by WD Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
01a004313c
commit
a8a16af4d5
@ -27,13 +27,14 @@ int board_pre_init(void)
|
|||||||
|
|
||||||
int checkboard(void)
|
int checkboard(void)
|
||||||
{
|
{
|
||||||
puts ("ML507 Board\n");
|
puts("ML507 Board\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
phys_size_t initdram(int board_type)
|
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)
|
void get_sys_info(sys_info_t * sysInfo)
|
||||||
|
Loading…
Reference in New Issue
Block a user