summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/clock_legacy.h14
-rw-r--r--include/common.h5
2 files changed, 14 insertions, 5 deletions
diff --git a/include/clock_legacy.h b/include/clock_legacy.h
new file mode 100644
index 00000000000..b0a8333ea6e
--- /dev/null
+++ b/include/clock_legacy.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * (C) Copyright 2000-2009
+ * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+ */
+
+#ifndef __CLOCK_LEGACY_H
+#define __CLOCK_LEGACY_H
+
+int get_clocks(void);
+unsigned long get_bus_freq(unsigned long dummy);
+int get_serial_clock(void);
+
+#endif
diff --git a/include/common.h b/include/common.h
index 1f87070d492..cc3d212a3d0 100644
--- a/include/common.h
+++ b/include/common.h
@@ -78,11 +78,6 @@ ulong get_tbclk (void);
void reset_misc (void);
void reset_cpu (ulong addr);
-/* $(CPU)/speed.c */
-int get_clocks (void);
-ulong get_bus_freq (ulong);
-int get_serial_clock(void);
-
/* lib/uuid.c */
#include <uuid.h>