]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_io.c
gpio: use appropriate return values for cmd handler
[karo-tx-uboot.git] / common / cmd_io.c
index 6450cb576b1e3fdcfbd64962137419e196e07649..c59148f413cf2ef3873d1f4016ae08e3d16d3850 100644 (file)
@@ -1,23 +1,7 @@
 /*
  * Copyright (c) 2012 The Chromium OS Authors.
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:     GPL-2.0+
  */
 
 /*
@@ -86,8 +70,8 @@ int do_io_iow(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
 
 /**************************************************/
 U_BOOT_CMD(iod, 2, 0, do_io_iod,
-          "IO space display", "[.b, .w, .l] address [# of objects]");
+          "IO space display", "[.b, .w, .l] address");
 
 U_BOOT_CMD(iow, 3, 0, do_io_iow,
-          "IO space modify (auto-incrementing address)",
-          "[.b, .w, .l] address");
+          "IO space modify",
+          "[.b, .w, .l] address value");