tiny68k: fix incorrect sr set up at boot
authorAlan Cox <alan@linux.intel.com>
Sun, 20 Jan 2019 15:21:58 +0000 (15:21 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 20 Jan 2019 15:21:58 +0000 (15:21 +0000)
Kernel/platform-tiny68k/p68000.S

index 07693d2..d8af248 100644 (file)
 #define IVR $19
 
 .mri 1
-platform_reboot:
 platform_monitor:
-           or #0700,sr
+       ; Need to check if top of memory at FE7000, if so
+       ; copy vectors from FE7000 to 0 (where we saved them)
+       ; them jmp to FE8000
+platform_reboot:
+           or #$0700,sr
            bra platform_monitor
 
 init_early: