diff options
author | Stefano Babic <sbabic@denx.de> | 2011-08-17 17:52:40 +0200 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-09-04 11:36:11 +0200 |
commit | 7acec2594840b2602054c5a9d1e14792837fd9db (patch) | |
tree | 729fbc4da73b96f0342835d5b761be44f3d61150 | |
parent | 6b5acfc12151ac151800375b447938cc4a4e86ff (diff) | |
download | u-boot-imx-7acec2594840b2602054c5a9d1e14792837fd9db.zip u-boot-imx-7acec2594840b2602054c5a9d1e14792837fd9db.tar.gz u-boot-imx-7acec2594840b2602054c5a9d1e14792837fd9db.tar.bz2 |
MX: MX35 / MX5: uniform clock command with powerpc
There was already a command to show the processor clocks
for PowerPC (clocks). For i.MX, the "clockinfo" command
was introduce. The patch sets the same command name used on
PowerPC.
A nasty and not needed newline is also dropped in the help for
the command.
Signed-off-by: Stefano Babic <sbabic@denx.de>
-rw-r--r-- | arch/arm/cpu/arm1136/mx35/generic.c | 4 | ||||
-rw-r--r-- | arch/arm/cpu/armv7/mx5/clock.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/cpu/arm1136/mx35/generic.c b/arch/arm/cpu/arm1136/mx35/generic.c index 1b4ab75..fcfaba5 100644 --- a/arch/arm/cpu/arm1136/mx35/generic.c +++ b/arch/arm/cpu/arm1136/mx35/generic.c @@ -417,8 +417,8 @@ int do_mx35_showclocks(cmd_tbl_t *cmdtp, } U_BOOT_CMD( - clockinfo, CONFIG_SYS_MAXARGS, 1, do_mx35_showclocks, - "display clocks\n", + clocks, CONFIG_SYS_MAXARGS, 1, do_mx35_showclocks, + "display clocks", "" ); diff --git a/arch/arm/cpu/armv7/mx5/clock.c b/arch/arm/cpu/armv7/mx5/clock.c index 0b04a88..00610a0 100644 --- a/arch/arm/cpu/armv7/mx5/clock.c +++ b/arch/arm/cpu/armv7/mx5/clock.c @@ -288,7 +288,7 @@ int do_mx5_showclocks(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) /***************************************************/ U_BOOT_CMD( - clockinfo, CONFIG_SYS_MAXARGS, 1, do_mx5_showclocks, - "display clocks\n", + clocks, CONFIG_SYS_MAXARGS, 1, do_mx5_showclocks, + "display clocks", "" ); |