X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=lib_m68k%2Fbootm.c;h=e5ed6eb7cc6201b4a2263564d418f47cd50e7a69;hb=e1491288743c3c3547c9b512d03f42eae530a114;hp=0798e07e367e38a9996727708454b6ba680bd515;hpb=4cc64742a89e8ce90c69c3c85e4e9f4706062f2f;p=oweals%2Fu-boot.git diff --git a/lib_m68k/bootm.c b/lib_m68k/bootm.c old mode 100644 new mode 100755 index 0798e07e36..e5ed6eb7cc --- a/lib_m68k/bootm.c +++ b/lib_m68k/bootm.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include @@ -111,11 +111,12 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images) /* * Linux Kernel Parameters (passing board info data): - * r3: ptr to board info data - * r4: initrd_start or 0 if no initrd - * r5: initrd_end - unused if r4 is 0 - * r6: Start of command line string - * r7: End of command line string + * sp+00: Ignore, side effect of using jsr to jump to kernel + * sp+04: ptr to board info data + * sp+08: initrd_start or 0 if no initrd + * sp+12: initrd_end - unused if initrd_start is 0 + * sp+16: Start of command line string + * sp+20: End of command line string */ (*kernel) (kbd, initrd_start, initrd_end, cmd_start, cmd_end); /* does not return */