1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2014 Angelo Dureghello <angelo@sysam.it>
8 #include <clock_legacy.h>
9 #include <asm/processor.h>
10 #include <asm/immap.h>
12 DECLARE_GLOBAL_DATA_PTR;
14 /* get_clocks() fills in gd->cpu_clock and gd->bus_clk */
17 #if defined(CONFIG_M5307)
18 gd->bus_clk = CONFIG_SYS_CLK;
19 gd->cpu_clk = CONFIG_SYS_CPU_CLK;