aboutsummaryrefslogtreecommitdiff
path: root/include/configs/xtfpga.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/xtfpga.h')
-rw-r--r--include/configs/xtfpga.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/configs/xtfpga.h b/include/configs/xtfpga.h
index ccc90a6..c8a6e9a 100644
--- a/include/configs/xtfpga.h
+++ b/include/configs/xtfpga.h
@@ -22,9 +22,6 @@
#define CONFIG_XTFPGA
-/* FPGA CPU freq after init */
-#define CONFIG_SYS_CLK_FREQ (gd->cpu_clk)
-
/*===================*/
/* RAM Layout */
/*===================*/
@@ -169,7 +166,7 @@
#define CONFIG_SYS_NS16550_COM1 IOADDR(0x0D050020) /* Base address */
/* Input clk to NS16550 (in Hz; the SYS_CLK_FREQ is in kHz) */
-#define CONFIG_SYS_NS16550_CLK CONFIG_SYS_CLK_FREQ
+#define CONFIG_SYS_NS16550_CLK get_board_sys_clk()
/*======================*/
/* Ethernet Driver Info */