blob: fc7ec674eca5769fa7d75365f21002e4fa2436a0 [file] [log] [blame]
Jesper Nilssond207cf52008-01-17 11:33:45 +01001/*
Linus Torvalds1da177e2005-04-16 15:20:36 -07002 * Simple testcode to download by the rescue block.
Jesper Nilssond207cf52008-01-17 11:33:45 +01003 * Just lights some LEDs to show it was downloaded correctly.
4 *
Linus Torvalds1da177e2005-04-16 15:20:36 -07005 * Copyright (C) 1999 Axis Communications AB
6 */
7
8#define ASSEMBLER_MACROS_ONLY
Jesper Nilsson556dcee2008-10-21 17:45:58 +02009#include <arch/sv_addr_ag.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
11 .text
12
13 nop
14 nop
15 moveq -1, $r2
16 move.b $r2, [R_PORT_PA_DIR]
17 moveq 0, $r2
Jesper Nilssond207cf52008-01-17 11:33:45 +010018 move.b $r2, [R_PORT_PA_DATA]
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
20endless:
21 nop
22 ba endless
23 nop
24