diff options
author | Simon Glass | 2019-12-28 10:44:58 -0700 |
---|---|---|
committer | Tom Rini | 2020-01-17 13:27:29 -0500 |
commit | d96c26040e901a1ab0264a105e61ee9dadbca701 (patch) | |
tree | f0cc6b3d11ecaa17e4fb644b7cce3cc23e57142a /include/clock_legacy.h | |
parent | 6d1fdb1efb3864e53ccd9e7a4c30eebca03cad1b (diff) |
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.h | 14 |
1 files changed, 14 insertions, 0 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 |