From 15a1b1f68e1045347b424fabda8c1d1e1918f143 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Tue, 15 Sep 2015 16:06:52 +0800 Subject: 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 --- arch/arm/cpu/armv7/mx7/clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/arm') 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", "" ); -- cgit v1.1