1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2000-2009
4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
7 #ifndef __CLOCK_LEGACY_H
8 #define __CLOCK_LEGACY_H
11 unsigned long get_bus_freq(unsigned long dummy);
12 int get_serial_clock(void);
15 * If we have CONFIG_DYNAMIC_DDR_CLK_FREQ then there will be an
16 * implentation of get_board_ddr_clk() somewhere. Otherwise we have
17 * a static value to use now.
19 #ifdef CONFIG_DYNAMIC_DDR_CLK_FREQ
20 unsigned long get_board_ddr_clk(void);
22 #define get_board_ddr_clk() CONFIG_DDR_CLK_FREQ