[U-Boot-Users] problem compiling sc520

david stevenson david at avoncliff.com
Mon Aug 4 22:59:09 CEST 2003


On Monday 04 August 2003 9:35 pm, david stevenson wrote:
> > > > Try replacing the "done:" with "done: ;"
> > >
> > > Yes that works fine. (strange the things I learn about C day by day 8-)
> > > )
> > >
> > > > If it works, please submit a patch.
Sorry here is another one I must have fixed and forgot 8-(
Index: common/cmd_bootm.c
===================================================================
RCS file: /cvsroot//u-boot/u-boot/common/cmd_bootm.c,v
retrieving revision 1.21
diff -u -r1.21 cmd_bootm.c
--- common/cmd_bootm.c  27 Jul 2003 00:21:15 -0000      1.21
+++ common/cmd_bootm.c  4 Aug 2003 23:28:54 -0000
@@ -1012,9 +1012,9 @@
                        printf ("Image at %08lX:\n", (ulong)hdr);
                        print_image_hdr( hdr );
                        putc ('\n');
-               next_sector:
+               next_sector:;
                }
-       next_bank:
+       next_bank:;
        }

        return (0);





More information about the U-Boot mailing list