Merge branch 'ras-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / arch / cris / boot / rescue / testrescue.S
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Simple testcode to download by the rescue block.
4  * Just lights some LEDs to show it was downloaded correctly.
5  *
6  * Copyright (C) 1999 Axis Communications AB
7  */
8
9 #define ASSEMBLER_MACROS_ONLY
10 #include <arch/sv_addr_ag.h>
11
12         .text
13
14         nop
15         nop
16         moveq   -1, $r2
17         move.b  $r2, [R_PORT_PA_DIR]
18         moveq   0, $r2
19         move.b  $r2, [R_PORT_PA_DATA]
20
21 endless:
22         nop
23         ba      endless
24         nop
25