summaryrefslogtreecommitdiff
path: root/include/configs/ls1028ardb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/ls1028ardb.h')
-rw-r--r--include/configs/ls1028ardb.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/ls1028ardb.h b/include/configs/ls1028ardb.h
index 348db1e2f8..5ce9ebbae9 100644
--- a/include/configs/ls1028ardb.h
+++ b/include/configs/ls1028ardb.h
@@ -8,8 +8,7 @@
#include "ls1028a_common.h"
-#define CONFIG_SYS_CLK_FREQ 100000000
-#define COUNTER_FREQUENCY_REAL (CONFIG_SYS_CLK_FREQ / 4)
+#define COUNTER_FREQUENCY_REAL (get_board_sys_clk() / 4)
#define CONFIG_SYS_RTC_BUS_NUM 0