android_kernel_xiaomi_sm8350/arch/cris/arch-v10/boot/rescue/testrescue.S
Jesper Nilsson d207cf5bb9 CRIS v10: Correct and cleanup boot/rescue/testrescue.S
- Correct include path for sv_addr_ag.h, should be asm/arch/
- Fix some whitespace errors.
- Remove useless CVS id tag.
2008-02-08 11:06:29 +01:00

25 lines
373 B
ArmAsm

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