diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-06-07 05:34:59 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-07 05:35:05 -0400 |
commit | 56fdd18c7b89a2fac1dfe5d54750c9143867fdc4 (patch) | |
tree | ce48eee7d5960936fa6e385320b7a261a8bee071 /arch/cris/boot/rescue/testrescue.S | |
parent | 7caf6a49bb17d0377210693af5737563b31aa5ee (diff) | |
parent | b87297fb405ef13cac375f202d114323b076a56d (diff) |
Merge branch 'linus' into core/iommu
Merge reason: This branch was on an -rc5 base so pull almost-2.6.30
to resync with the latest upstream fixes and make sure
the combination works fine.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/cris/boot/rescue/testrescue.S')
-rw-r--r-- | arch/cris/boot/rescue/testrescue.S | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/cris/boot/rescue/testrescue.S b/arch/cris/boot/rescue/testrescue.S new file mode 100644 index 00000000000..fc7ec674eca --- /dev/null +++ b/arch/cris/boot/rescue/testrescue.S | |||
@@ -0,0 +1,24 @@ | |||
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 | */ | ||
7 | |||
8 | #define ASSEMBLER_MACROS_ONLY | ||
9 | #include <arch/sv_addr_ag.h> | ||
10 | |||
11 | .text | ||
12 | |||
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] | ||
19 | |||
20 | endless: | ||
21 | nop | ||
22 | ba endless | ||
23 | nop | ||
24 | |||