]> git.sur5r.net Git - u-boot/blobdiff - board/lwmon/lwmon.c
nds32: asm/io.h: add __iormb __iowmb and inline io support
[u-boot] / board / lwmon / lwmon.c
index 61a1e1417fe560c6bad5aad5c62073a2ff20b979..b5e524bb2f4e8459cd91888a648fb2193eba0ebd 100644 (file)
@@ -365,7 +365,7 @@ int board_early_init_f (void)
         *
         * This is just a preliminary fix, intended to turn off TENA
         * as soon as possible to avoid noise on the network. Once
-        * I²C is running we will make sure the interface is
+        * I2C is running we will make sure the interface is
         * correctly initialized.
         */
        immr->im_cpm.cp_pbpar &= ~PB_ENET_TENA;
@@ -845,8 +845,7 @@ int do_pic (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        default:
                break;
        }
-       cmd_usage(cmdtp);
-       return 1;
+       return cmd_usage(cmdtp);
 }
 U_BOOT_CMD(
        pic,    4,      1,      do_pic,
@@ -975,8 +974,7 @@ int do_lsb (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        default:
                break;
        }
-       cmd_usage(cmdtp);
-       return 1;
+       return cmd_usage(cmdtp);
 }
 
 U_BOOT_CMD(