]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/pixis: Fix pixis help message
authorYork Sun <yorksun@freescale.com>
Fri, 31 May 2013 15:48:04 +0000 (08:48 -0700)
committerAndy Fleming <afleming@freescale.com>
Thu, 20 Jun 2013 22:08:52 +0000 (17:08 -0500)
"pixis_reset help" command prints the message without a new line "\n",
which makes the prompt on the same line.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
board/freescale/common/pixis.c

index 8d07061c36f36a67481484719ab44436eb4a9b02..fbb709de14a2faef74f04ba06d057f30af8425cd 100644 (file)
@@ -480,6 +480,7 @@ static int pixis_reset_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const ar
            ||  unknown_param) {
 #ifdef CONFIG_SYS_LONGHELP
                puts(cmdtp->help);
+               putc('\n');
 #endif
                return 1;
        }
@@ -512,6 +513,7 @@ static int pixis_reset_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const ar
                      && set_px_mpxpll(mpxpll))) {
 #ifdef CONFIG_SYS_LONGHELP
                        puts(cmdtp->help);
+                       putc('\n');
 #endif
                        return 1;
                }