summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@isonoe.(none)>2007-10-16 19:07:21 +0200
committerJuergen Beisert <jbe@isonoe.(none)>2007-10-16 19:07:21 +0200
commit26def3fd2c20cdb0c85fc721325c1b954d7bbc05 (patch)
treed71ed10cd95598b575bd9db9bbc04373f9c25ed6
parentfa814e8fae23377d1eb67f76b4e64656cf530e5a (diff)
downloadbarebox-26def3fd2c20cdb0c85fc721325c1b954d7bbc05.tar.gz
barebox-26def3fd2c20cdb0c85fc721325c1b954d7bbc05.tar.xz
various small typos fixed
-rw-r--r--commands/crc.c22
-rw-r--r--commands/flash.c5
-rw-r--r--commands/go.c6
-rw-r--r--commands/ls.c1
-rw-r--r--commands/memtest.c2
-rw-r--r--commands/net.c11
-rw-r--r--commands/pwd.c2
-rw-r--r--commands/timeout.c2
8 files changed, 36 insertions, 15 deletions
diff --git a/commands/crc.c b/commands/crc.c
index 69633ce594..f5a8e3bf3d 100644
--- a/commands/crc.c
+++ b/commands/crc.c
@@ -1,3 +1,25 @@
+/*
+ * crc.c - Calculate a crc32 checksum of a memory area
+ *
+ * Copyright (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
+ *
+ * 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 version 2
+ * as published by the Free Software Foundation.
+ *
+ * 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
+ */
+
#include <common.h>
#include <command.h>
#include <fs.h>
diff --git a/commands/flash.c b/commands/flash.c
index 7d7876d862..835663c2b6 100644
--- a/commands/flash.c
+++ b/commands/flash.c
@@ -1,4 +1,6 @@
/*
+ * erase, protect, unprotect - FLASH support
+ *
* (C) Copyright 2000
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
@@ -21,9 +23,6 @@
* MA 02111-1307 USA
*/
-/*
- * FLASH support
- */
#include <common.h>
#include <command.h>
#include <cfi_flash.h>
diff --git a/commands/go.c b/commands/go.c
index f6d8fcd135..a1fd2f087f 100644
--- a/commands/go.c
+++ b/commands/go.c
@@ -1,4 +1,6 @@
/*
+ * go- execute some code anywhere (misc boot support)
+ *
* (C) Copyright 2000-2003
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
@@ -21,10 +23,6 @@
* MA 02111-1307 USA
*/
-/*
- * Misc boot support
- */
-
#include <common.h>
#include <command.h>
diff --git a/commands/ls.c b/commands/ls.c
index 82592641b7..6b88688426 100644
--- a/commands/ls.c
+++ b/commands/ls.c
@@ -19,6 +19,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+
#include <common.h>
#include <command.h>
#include <fs.h>
diff --git a/commands/memtest.c b/commands/memtest.c
index 88d8aa356a..2c0dd3c7e0 100644
--- a/commands/memtest.c
+++ b/commands/memtest.c
@@ -1,4 +1,6 @@
/*
+ * mtest - Perform a memory test
+ *
* (C) Copyright 2000
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
diff --git a/commands/net.c b/commands/net.c
index 8fb100a959..d12559e13f 100644
--- a/commands/net.c
+++ b/commands/net.c
@@ -1,4 +1,6 @@
/*
+ * tftp, rarpboot, dhcp, nfs, cdp - Boot support
+ *
* (C) Copyright 2000
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
@@ -21,9 +23,6 @@
* MA 02111-1307 USA
*/
-/*
- * Boot support
- */
#include <common.h>
#include <command.h>
#include <environment.h>
@@ -132,7 +131,7 @@ static int do_dhcp (cmd_tbl_t *cmdtp, int argc, char *argv[])
}
U_BOOT_CMD_START(dhcp)
- .maxargs = 3,
+ .maxargs = 1,
.cmd = do_dhcp,
.usage = "invoke dhcp client to obtain ip/boot params",
U_BOOT_CMD_END
@@ -201,7 +200,7 @@ netboot_common (proto_t proto, cmd_tbl_t *cmdtp, int argc, char *argv[])
return rcode;
}
-#if (CONFIG_COMMANDS & CFG_CMD_CDP)
+#ifdef CONFIG_NET_CDP
static void cdp_update_env(void)
{
@@ -245,4 +244,4 @@ U_BOOT_CMD_START(cdp)
U_BOOT_CMD_HELP("[loadAddress] [host ip addr:bootfilename]\n")
U_BOOT_CMD_END
-#endif /* CFG_CMD_CDP */
+#endif /* CONFIG_NET_CDP */
diff --git a/commands/pwd.c b/commands/pwd.c
index 537d54d2a5..7034585c78 100644
--- a/commands/pwd.c
+++ b/commands/pwd.c
@@ -30,7 +30,7 @@ static int do_pwd (cmd_tbl_t *cmdtp, int argc, char *argv[])
}
U_BOOT_CMD_START(pwd)
- .maxargs = 2,
+ .maxargs = 1,
.cmd = do_pwd,
.usage = "print working directory",
U_BOOT_CMD_END
diff --git a/commands/timeout.c b/commands/timeout.c
index aae0f73342..639f361da1 100644
--- a/commands/timeout.c
+++ b/commands/timeout.c
@@ -1,5 +1,5 @@
/*
- * ls.c - list files and directories
+ * timeout - wait for timeout
*
* Copyright (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
*