summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2020-10-07 08:09:31 -0300
committerStefano Babic <sbabic@denx.de>2020-11-01 15:53:17 +0100
commit538723e01234a6df0de54e902ca28c6db5b5c599 (patch)
tree815133758e6f33629ae0dfc26052a9fe514a883a /arch/arm/mach-imx
parent85abf0415d2d4cbb31c07053422ae031a7610764 (diff)
downloadu-boot-538723e01234a6df0de54e902ca28c6db5b5c599.tar.gz
u-boot-538723e01234a6df0de54e902ca28c6db5b5c599.tar.xz
u-boot-538723e01234a6df0de54e902ca28c6db5b5c599.zip
mx7ulp: clock: Remove unuseful information
The command 'clocks' shows the following output: => clocks PLL_A7_SPLL 528 MHz PLL_A7_APLL 529 MHz PLL_USB 0 MHz .... [do_mx7_showclocks] addr = 0x9FFB61F1 The last line is not useful at all, so just remove it. Signed-off-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r--arch/arm/mach-imx/mx7ulp/clock.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/mx7ulp/clock.c b/arch/arm/mach-imx/mx7ulp/clock.c
index a987ff22df..1a504d0b9a 100644
--- a/arch/arm/mach-imx/mx7ulp/clock.c
+++ b/arch/arm/mach-imx/mx7ulp/clock.c
@@ -333,7 +333,7 @@ void hab_caam_clock_enable(unsigned char enable)
int do_mx7_showclocks(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])
{
- u32 addr = 0;
+
u32 freq;
freq = decode_pll(PLL_A7_SPLL);
printf("PLL_A7_SPLL %8d MHz\n", freq / 1000000);
@@ -356,8 +356,6 @@ int do_mx7_showclocks(struct cmd_tbl *cmdtp, int flag, int argc,
printf("USDHC2 %8d kHz\n", mxc_get_clock(MXC_ESDHC2_CLK) / 1000);
printf("I2C4 %8d kHz\n", mxc_get_clock(MXC_I2C_CLK) / 1000);
- addr = (u32) clock_init;
- printf("[%s] addr = 0x%08X\r\n", __func__, addr);
scg_a7_info();
return 0;