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>
This commit is contained in:
Stefano Babic 2011-08-17 17:52:40 +02:00 committed by Albert ARIBAUD
parent 6b5acfc121
commit 7acec25948
2 changed files with 4 additions and 4 deletions

View File

@ -417,8 +417,8 @@ int do_mx35_showclocks(cmd_tbl_t *cmdtp,
} }
U_BOOT_CMD( U_BOOT_CMD(
clockinfo, CONFIG_SYS_MAXARGS, 1, do_mx35_showclocks, clocks, CONFIG_SYS_MAXARGS, 1, do_mx35_showclocks,
"display clocks\n", "display clocks",
"" ""
); );

View File

@ -288,7 +288,7 @@ int do_mx5_showclocks(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
/***************************************************/ /***************************************************/
U_BOOT_CMD( U_BOOT_CMD(
clockinfo, CONFIG_SYS_MAXARGS, 1, do_mx5_showclocks, clocks, CONFIG_SYS_MAXARGS, 1, do_mx5_showclocks,
"display clocks\n", "display clocks",
"" ""
); );