Message ID | 1386861515-27361-1-git-send-email-kees.jongenburger@gmail.com |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
On Thu, Dec 12, 2013 at 04:18:35PM +0100, Kees Jongenburger wrote: > 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> Applied to u-boot/master, thanks!
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);