Merge remote-tracking branch 'remotes/powerpc/topic/xive' into kvm-ppc-next
[linux/fpc-iii.git] / arch / cris / boot / rescue / testrescue.S
blobfc7ec674eca5769fa7d75365f21002e4fa2436a0
1 /*
2  * Simple testcode to download by the rescue block.
3  * Just lights some LEDs to show it was downloaded correctly.
4  *
5  * Copyright (C) 1999 Axis Communications AB
6  */
8 #define ASSEMBLER_MACROS_ONLY
9 #include <arch/sv_addr_ag.h>
11         .text
13         nop
14         nop
15         moveq   -1, $r2
16         move.b  $r2, [R_PORT_PA_DIR]
17         moveq   0, $r2
18         move.b  $r2, [R_PORT_PA_DATA]
20 endless:
21         nop
22         ba      endless
23         nop