tiny68k: start up fixes
authorAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 16:26:17 +0000 (16:26 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 19 Jan 2019 16:26:17 +0000 (16:26 +0000)
Kernel/platform-tiny68k/crt0.S

index 9b7796c..240a986 100644 (file)
@@ -1,8 +1,8 @@
 /*
  *     Need to wipe BSS etc once we figure out our preferred boot method
  *
- *     On entry we are loaded at $2000 with the loader and the loaders
- *     supervisor stack below us. We are in supervisor mode and the rest
+ *     On entry we are loaded at $0400 with the loader and the loaders
+ *     supervisor stack a mystery. We are in supervisor mode and the rest
  *     is our problem.
  */
                .globl __end
@@ -24,9 +24,7 @@ wipebss:
                dbra d0,wipebss
 
                /* FIXME: hard coded ugly */
-               move.l #udata_block+1016,a7
-               /* udata global */
-               move.l #udata_block,a5
+               lea udata_block+1016,a7
                bsr init_early
                bsr init_hardware
                bsr fuzix_main