mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02: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:
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
|
Reference in New Issue
Block a user