3 * Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@gmail.com
4 * This work has been supported by: QTechnology http://qtec.com/
6 * SPDX-License-Identifier: GPL-2.0+
11 #include <asm/processor.h>
13 DECLARE_GLOBAL_DATA_PTR;
15 ulong get_PCI_freq(void)
22 puts("Xilinx PPC405 Generic Board\n");
28 gd->ram_size = get_ram_size(XPAR_DDR2_SDRAM_MEM_BASEADDR,
29 CONFIG_SYS_SDRAM_SIZE_MB * 1024 * 1024);
34 void get_sys_info(sys_info_t *sys_info)
36 sys_info->freqProcessor = XPAR_CORE_CLOCK_FREQ_HZ;
37 sys_info->freqPLB = XPAR_PLB_CLOCK_FREQ_HZ;
38 sys_info->freqPCI = 0;
43 int get_serial_clock(void){
44 return XPAR_UARTNS550_0_CLOCK_FREQ_HZ;