summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-09-15 16:06:52 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-09-15 16:14:14 +0800
commit15a1b1f68e1045347b424fabda8c1d1e1918f143 (patch)
treefbcc14b5e2fa6af479bddc6d4b4cadcab7214e13 /arch/arm
parente1ca547d198dde94c4d8278c99499ec2d2008880 (diff)
downloadu-boot-imx-15a1b1f68e1045347b424fabda8c1d1e1918f143.zip
u-boot-imx-15a1b1f68e1045347b424fabda8c1d1e1918f143.tar.gz
u-boot-imx-15a1b1f68e1045347b424fabda8c1d1e1918f143.tar.bz2
MLK-11553 imx: mx7 fix typo for showclocks
This piece of code is for mx7, we should not use do_mx6_showclocks. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/cpu/armv7/mx7/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/mx7/clock.c b/arch/arm/cpu/armv7/mx7/clock.c
index b75a626..cb8e847 100644
--- a/arch/arm/cpu/armv7/mx7/clock.c
+++ b/arch/arm/cpu/armv7/mx7/clock.c
@@ -1102,7 +1102,7 @@ void epdc_clock_disable(void)
/*
* Dump some core clockes.
*/
-int do_mx6_showclocks(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int do_mx7_showclocks(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
u32 freq;
freq = decode_pll(PLL_CORE, MXC_HCLK);
@@ -1130,7 +1130,7 @@ int do_mx6_showclocks(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
}
U_BOOT_CMD(
- clocks, CONFIG_SYS_MAXARGS, 1, do_mx6_showclocks,
+ clocks, CONFIG_SYS_MAXARGS, 1, do_mx7_showclocks,
"display clocks",
""
);