diff options
author | Igor Prusov <ivprusov@sberdevices.ru> | 2023-11-09 13:55:15 +0300 |
---|---|---|
committer | Sean Anderson <seanga2@gmail.com> | 2023-12-15 13:05:54 -0500 |
commit | bc3e313ff6af4b5cb09749185d0602a3d4b9b240 (patch) | |
tree | 06d9f19f5818645a670b09dc5d4a47de3d9e60d1 /arch/mips | |
parent | 258c1002383e5f0ca1d00cc2e4deae3cb488a26d (diff) | |
download | u-boot-bc3e313ff6af4b5cb09749185d0602a3d4b9b240.zip u-boot-bc3e313ff6af4b5cb09749185d0602a3d4b9b240.tar.gz u-boot-bc3e313ff6af4b5cb09749185d0602a3d4b9b240.tar.bz2 |
clk: treewide: switch to clock dump from clk_ops
Switch to using new dump operation in clock provider drivers instead of
overriding soc_clk_dump.
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Signed-off-by: Igor Prusov <ivprusov@sberdevices.ru>
Link: https://lore.kernel.org/r/20231109105516.24892-8-ivprusov@sberdevices.ru
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/mach-pic32/cpu.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/mips/mach-pic32/cpu.c b/arch/mips/mach-pic32/cpu.c index dbf8c9c..3181a94 100644 --- a/arch/mips/mach-pic32/cpu.c +++ b/arch/mips/mach-pic32/cpu.c @@ -143,26 +143,3 @@ const char *get_core_name(void) return str; } #endif -#ifdef CONFIG_CMD_CLK - -int soc_clk_dump(void) -{ - int i; - - printf("PLL Speed: %lu MHz\n", - CLK_MHZ(rate(PLLCLK))); - - printf("CPU Speed: %lu MHz\n", CLK_MHZ(rate(PB7CLK))); - - printf("MPLL Speed: %lu MHz\n", CLK_MHZ(rate(MPLL))); - - for (i = PB1CLK; i <= PB7CLK; i++) - printf("PB%d Clock Speed: %lu MHz\n", i - PB1CLK + 1, - CLK_MHZ(rate(i))); - - for (i = REF1CLK; i <= REF5CLK; i++) - printf("REFO%d Clock Speed: %lu MHz\n", i - REF1CLK + 1, - CLK_MHZ(rate(i))); - return 0; -} -#endif |