diff options
author | Peng Fan <van.freenix@gmail.com> | 2016-03-09 08:44:38 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-03-25 12:57:19 (GMT) |
commit | d78e7f2794f7ae380c0c25027b7872d4f4cca322 (patch) | |
tree | 8ccb295669d38a6a6a56c751ff2162f41b895f3a /arch/arm/cpu/armv7 | |
parent | 7082d879164fe7af549ca911a7b675ce698186e1 (diff) | |
download | u-boot-d78e7f2794f7ae380c0c25027b7872d4f4cca322.tar.xz |
imx: print ARM clock for clocks command
Default print ARM clock for clocks command.
Test on i.MX6UL 14x14 evk board:
"
=> clocks
PLL_SYS 792 MHz
PLL_BUS 528 MHz
PLL_OTG 480 MHz
PLL_NET 50 MHz
ARM 396000 kHz
"
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/cpu/armv7')
-rw-r--r-- | arch/arm/cpu/armv7/mx6/clock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c index 88380a6..3b53842 100644 --- a/arch/arm/cpu/armv7/mx6/clock.c +++ b/arch/arm/cpu/armv7/mx6/clock.c @@ -1183,6 +1183,7 @@ int do_mx6_showclocks(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) printf("PLL_NET %8d MHz\n", freq / 1000000); printf("\n"); + printf("ARM %8d kHz\n", mxc_get_clock(MXC_ARM_CLK) / 1000); printf("IPG %8d kHz\n", mxc_get_clock(MXC_IPG_CLK) / 1000); printf("UART %8d kHz\n", mxc_get_clock(MXC_UART_CLK) / 1000); #ifdef CONFIG_MXC_SPI |