linc80: fix reboot
authorAlan Cox <alan@linux.intel.com>
Tue, 8 Jan 2019 23:39:46 +0000 (23:39 +0000)
committerAlan Cox <alan@linux.intel.com>
Tue, 8 Jan 2019 23:39:46 +0000 (23:39 +0000)
Kernel/platform-linc80/linc80.s

index 8e79634..0dd2a99 100644 (file)
 _bufpool:
        .ds BUFSIZE * NBUFS
 
-        .area _COMMONMEM
+;
+;      We need this above 16K so the ROM doesn't map over it
+;
+        .area _CODE2
 
 _platform_monitor:
            ; Reboot ends up back in the monitor
@@ -68,6 +71,7 @@ _platform_reboot:
 _int_disabled:
        .db 1
 
+       .area _COMMONMEM
 map_buffers:
 map_kernel:
 map_kernel_di: