summaryrefslogtreecommitdiffstats
path: root/board/xilinx
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@uam.es>2008-07-29 17:16:10 +0200
committerStefan Roese <sr@denx.de>2008-07-30 11:36:51 +0200
commita8a16af4d59d14cc1c1187c10aaad80d6b8394b5 (patch)
tree31709a7ea45ef7dba439f5f0ee3fca0b03b26d44 /board/xilinx
parent01a004313c5ec2d128b611df4c208b1b0d3c3fb4 (diff)
downloadbootable_bootloader_goldelico_gta04-a8a16af4d59d14cc1c1187c10aaad80d6b8394b5.zip
bootable_bootloader_goldelico_gta04-a8a16af4d59d14cc1c1187c10aaad80d6b8394b5.tar.gz
bootable_bootloader_goldelico_gta04-a8a16af4d59d14cc1c1187c10aaad80d6b8394b5.tar.bz2
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>
Diffstat (limited to 'board/xilinx')
-rw-r--r--board/xilinx/ml507/ml507.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/board/xilinx/ml507/ml507.c b/board/xilinx/ml507/ml507.c
index e95d2af..d499303 100644
--- a/board/xilinx/ml507/ml507.c
+++ b/board/xilinx/ml507/ml507.c
@@ -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)