summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKees Jongenburger <kees.jongenburger@gmail.com>2013-12-12 16:18:35 +0100
committerTom Rini <trini@ti.com>2013-12-13 09:17:32 -0500
commite2ce81696a6aeea65e86d7677d270e589a7d4d81 (patch)
tree133507d8e558da26c9d93a6614e02893dbd1f8b8 /common
parentba931259b10477f5cd2dd43b290d986335d506ba (diff)
downloadu-boot-imx-e2ce81696a6aeea65e86d7677d270e589a7d4d81.zip
u-boot-imx-e2ce81696a6aeea65e86d7677d270e589a7d4d81.tar.gz
u-boot-imx-e2ce81696a6aeea65e86d7677d270e589a7d4d81.tar.bz2
netbsd:fix documentation typo.
The documentation suggested the arguments where passed over r3-r6 while the code below simply does that over r0-r3. Cc: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_bootm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index ba73f57..4d594f8 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -1531,10 +1531,10 @@ static int do_bootm_netbsd(int flag, int argc, char * const argv[],
/*
* NetBSD Stage-2 Loader Parameters:
- * r3: ptr to board info data
- * r4: image address
- * r5: console device
- * r6: boot args string
+ * arg[0]: pointer to board info data
+ * arg[1]: image load address
+ * arg[2]: char pointer to the console device to use
+ * arg[3]: char pointer to the boot arguments
*/
(*loader)(gd->bd, os_hdr, consdev, cmdline);