diff mbox

[U-Boot,v2] netbsd:fix documentation typo.

Message ID 1386705530-31748-1-git-send-email-kees.jongenburger@gmail.com
State Superseded
Delegated to: Tom Rini
Headers show

Commit Message

Kees Jongenburger Dec. 10, 2013, 7:58 p.m. UTC
The documentation suggested the arguments where passed over r3-r6
while the code bellow simply does that over r0-r3.

Cc: Kumar Gala <galak@kernel.crashing.org>
---
 common/cmd_bootm.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index ba73f57..d5a1b4a 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
+	 *   r0: ptr to board info data
+	 *   r1: image address
+	 *   r2: console device
+	 *   r3: boot args string
 	 */
 	(*loader)(gd->bd, os_hdr, consdev, cmdline);