aboutsummaryrefslogtreecommitdiff
path: root/include/clock_legacy.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:44:58 -0700
committerTom Rini <trini@konsulko.com>2020-01-17 13:27:29 -0500
commitd96c26040e901a1ab0264a105e61ee9dadbca701 (patch)
treef0cc6b3d11ecaa17e4fb644b7cce3cc23e57142a /include/clock_legacy.h
parent6d1fdb1efb3864e53ccd9e7a4c30eebca03cad1b (diff)
downloadu-boot-d96c26040e901a1ab0264a105e61ee9dadbca701.zip
u-boot-d96c26040e901a1ab0264a105e61ee9dadbca701.tar.gz
u-boot-d96c26040e901a1ab0264a105e61ee9dadbca701.tar.bz2
common: Move clock functions into a new file
These three clock functions don't use driver model and should be migrated. In the meantime, create a new file to hold them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/clock_legacy.h')
-rw-r--r--include/clock_legacy.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/clock_legacy.h b/include/clock_legacy.h
new file mode 100644
index 0000000..b0a8333
--- /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