mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
8dd86205cc
This converts 7 usages of this option to the non-SPL form, since there is no SPL_CMD_CLK defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Sean Anderson <seanga2@gmail.com>
19 lines
413 B
C
19 lines
413 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2018 NXP
|
|
* Peng Fan <peng.fan@nxp.com>
|
|
*/
|
|
|
|
struct imx8_clks {
|
|
ulong id;
|
|
const char *name;
|
|
};
|
|
|
|
#if IS_ENABLED(CONFIG_CMD_CLK)
|
|
extern struct imx8_clks imx8_clk_names[];
|
|
extern int num_clks;
|
|
#endif
|
|
|
|
ulong imx8_clk_get_rate(struct clk *clk);
|
|
ulong imx8_clk_set_rate(struct clk *clk, unsigned long rate);
|
|
int __imx8_clk_enable(struct clk *clk, bool enable);
|