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