mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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>
This commit is contained in:
parent
6d1fdb1efb
commit
d96c26040e
71 changed files with 86 additions and 11 deletions
14
include/clock_legacy.h
Normal file
14
include/clock_legacy.h
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue