summaryrefslogtreecommitdiff
path: root/board/xilinx/ppc440-generic/xilinx_ppc440_generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/xilinx/ppc440-generic/xilinx_ppc440_generic.c')
-rw-r--r--board/xilinx/ppc440-generic/xilinx_ppc440_generic.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/xilinx/ppc440-generic/xilinx_ppc440_generic.c b/board/xilinx/ppc440-generic/xilinx_ppc440_generic.c
index 3718a76f80..f92a3033e1 100644
--- a/board/xilinx/ppc440-generic/xilinx_ppc440_generic.c
+++ b/board/xilinx/ppc440-generic/xilinx_ppc440_generic.c
@@ -39,3 +39,7 @@ void __get_sys_info(sys_info_t *sysInfo)
return;
}
void get_sys_info(sys_info_t *) __attribute__((weak, alias("__get_sys_info")));
+
+int get_serial_clock(void){
+ return XPAR_UARTNS550_0_CLOCK_FREQ_HZ;
+}