#include <common.h>
#include <asm/processor.h>
-ulong get_PCI_freq(void)
-{
- return 0;
-}
+DECLARE_GLOBAL_DATA_PTR;
-int board_pre_init(void)
+ulong get_PCI_freq(void)
{
return 0;
}
return 0;
}
-phys_size_t initdram(int board_type)
+int dram_init(void)
{
- return get_ram_size(XPAR_DDR2_SDRAM_MEM_BASEADDR,
+ gd->ram_size = get_ram_size(XPAR_DDR2_SDRAM_MEM_BASEADDR,
CONFIG_SYS_SDRAM_SIZE_MB * 1024 * 1024);
+
+ return 0;
}
void get_sys_info(sys_info_t *sys_info)