diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:44:58 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 13:27:29 -0500 |
commit | d96c26040e901a1ab0264a105e61ee9dadbca701 (patch) | |
tree | f0cc6b3d11ecaa17e4fb644b7cce3cc23e57142a /board/freescale/qemu-ppce500/qemu-ppce500.c | |
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 'board/freescale/qemu-ppce500/qemu-ppce500.c')
-rw-r--r-- | board/freescale/qemu-ppce500/qemu-ppce500.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/qemu-ppce500/qemu-ppce500.c b/board/freescale/qemu-ppce500/qemu-ppce500.c index 381d40d67a..b9c7146466 100644 --- a/board/freescale/qemu-ppce500/qemu-ppce500.c +++ b/board/freescale/qemu-ppce500/qemu-ppce500.c @@ -323,7 +323,7 @@ void get_sys_info(sys_info_t *sys_info) sys_info->freq_processor[0] = freq; } -int get_clocks (void) +int get_clocks(void) { sys_info_t sys_info; @@ -350,7 +350,7 @@ unsigned long get_tbclk (void) * get_bus_freq * return system bus freq in Hz *********************************************/ -ulong get_bus_freq (ulong dummy) +ulong get_bus_freq(ulong dummy) { sys_info_t sys_info; get_sys_info(&sys_info); |