mx7ulp: clock: Remove unuseful information
Subsystems (3)
Fabio Estevam
reviewerPATCH 1/2 mx7ulp: clock: Remove unuseful information
The command 'clocks' shows the following output:
=> clocksPLL_A7_SPLL 528 MHzPLL_A7_APLL 529 MHzPLL_USB 0 MHz
....
[do_mx7_showclocks] addr = 0x9FFB61F1
The last line is not useful at all, so just remove it.
--- arch/arm/mach-imx/mx7ulp/clock.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
arch/arm/mach-imx/mx7ulp/clock.c +1 -3
@@ -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 ;
Signature · 1 line
2.17.1
Fabio Estevam
reviewerPATCH 2/2 mx7ulp: clock: Align the PLL_USB frequency
The command 'clocks' shows the following output:
=> clocksPLL_A7_SPLL 528 MHzPLL_A7_APLL 529 MHzPLL_USB 0 MHz
Add some extra spaces so that the PLL_USB information gets aligned with the previous reported frequencies.
--- arch/arm/mach-imx/mx7ulp/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-imx/mx7ulp/clock.c +1 -1
@@ -342,7 +342,7 @@ int do_mx7_showclocks(struct cmd_tbl *cmdtp, int flag, int argc,printf ("PLL_A7_APLL %8d MHz\n" , freq /1000000 ); freq =decode_pll (PLL_USB ); -printf ("PLL_USB %8d MHz\n" , freq /1000000 ); +printf ("PLL_USB %8d MHz\n" , freq /1000000 );printf ("\n" );
Signature · 1 line
2.17.1
PATCH 2/2 mx7ulp: clock: Align the PLL_USB frequency
Quoted 8 lines
The command 'clocks' shows the following output:
=> clocksPLL_A7_SPLL528 MHzPLL_A7_APLL529 MHzPLL_USB0 MHz
Add some extra spaces so that thePLL_USBinformation gets aligned with the previous reported frequencies.Signed-off-by Fabio Estevam <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH 1/2 mx7ulp: clock: Remove unuseful information
In reply to Fabio EstevamQuoted 9 lines
The command 'clocks' shows the following output:
=> clocksPLL_A7_SPLL528 MHzPLL_A7_APLL529 MHzPLL_USB0 MHz
....
[do_mx7_showclocks] addr =0x9FFB61F1
The last line is not useful at all, so just remove it.Signed-off-by Fabio Estevam <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================