| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <linux/compiler.h> |
| 4 | #include <linux/types.h> |
| 5 | |
| 6 | extern int pxa25x_clocks_init(void __iomem *regs); |
| 7 | extern int pxa27x_clocks_init(void __iomem *regs); |
| 8 | extern int pxa3xx_clocks_init(void __iomem *regs, void __iomem *oscc_reg); |
| 9 | |
| 10 | #ifdef CONFIG_PXA3xx |
| 11 | extern unsigned pxa3xx_get_clk_frequency_khz(int); |
| 12 | extern void pxa3xx_clk_update_accr(u32 disable, u32 enable, u32 xclkcfg, u32 mask); |
| 13 | #else |
| 14 | #define pxa3xx_get_clk_frequency_khz(x) (0) |
| 15 | #define pxa3xx_clk_update_accr(disable, enable, xclkcfg, mask) do { } while (0) |
| 16 | #endif |
| 17 | |