]>
Commit | Line | Data |
---|---|---|
d207cf5b | 1 | /* |
1da177e4 | 2 | * Simple testcode to download by the rescue block. |
d207cf5b JN |
3 | * Just lights some LEDs to show it was downloaded correctly. |
4 | * | |
1da177e4 LT |
5 | * Copyright (C) 1999 Axis Communications AB |
6 | */ | |
7 | ||
8 | #define ASSEMBLER_MACROS_ONLY | |
d207cf5b | 9 | #include <asm/arch/sv_addr_ag.h> |
1da177e4 LT |
10 | |
11 | .text | |
12 | ||
13 | nop | |
14 | nop | |
15 | moveq -1, $r2 | |
16 | move.b $r2, [R_PORT_PA_DIR] | |
17 | moveq 0, $r2 | |
d207cf5b | 18 | move.b $r2, [R_PORT_PA_DATA] |
1da177e4 LT |
19 | |
20 | endless: | |
21 | nop | |
22 | ba endless | |
23 | nop | |
24 |