2008-01-17 05:33:45 -05:00
|
|
|
/*
|
2005-04-16 18:20:36 -04:00
|
|
|
* Simple testcode to download by the rescue block.
|
2008-01-17 05:33:45 -05:00
|
|
|
* Just lights some LEDs to show it was downloaded correctly.
|
|
|
|
*
|
2005-04-16 18:20:36 -04:00
|
|
|
* Copyright (C) 1999 Axis Communications AB
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define ASSEMBLER_MACROS_ONLY
|
2008-01-17 05:33:45 -05:00
|
|
|
#include <asm/arch/sv_addr_ag.h>
|
2005-04-16 18:20:36 -04:00
|
|
|
|
|
|
|
.text
|
|
|
|
|
|
|
|
nop
|
|
|
|
nop
|
|
|
|
moveq -1, $r2
|
|
|
|
move.b $r2, [R_PORT_PA_DIR]
|
|
|
|
moveq 0, $r2
|
2008-01-17 05:33:45 -05:00
|
|
|
move.b $r2, [R_PORT_PA_DATA]
|
2005-04-16 18:20:36 -04:00
|
|
|
|
|
|
|
endless:
|
|
|
|
nop
|
|
|
|
ba endless
|
|
|
|
nop
|
|
|
|
|