Skip to content

Commit

Permalink
CRIS v10: Correct and cleanup boot/rescue/testrescue.S
Browse files Browse the repository at this point in the history
- Correct include path for sv_addr_ag.h, should be asm/arch/
- Fix some whitespace errors.
- Remove useless CVS id tag.
  • Loading branch information
Jesper Nilsson committed Feb 8, 2008
1 parent ef8028a commit d207cf5
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions arch/cris/arch-v10/boot/rescue/testrescue.S
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/* $Id: testrescue.S,v 1.1 2001/12/17 13:59:27 bjornw Exp $
*
/*
* Simple testcode to download by the rescue block.
* Just lits some LEDs to show it was downloaded correctly.
*
* Just lights some LEDs to show it was downloaded correctly.
*
* Copyright (C) 1999 Axis Communications AB
*/

#define ASSEMBLER_MACROS_ONLY
#include <asm/sv_addr_ag.h>
#include <asm/arch/sv_addr_ag.h>

.text

Expand All @@ -16,11 +15,10 @@
moveq -1, $r2
move.b $r2, [R_PORT_PA_DIR]
moveq 0, $r2
move.b $r2, [R_PORT_PA_DATA]
move.b $r2, [R_PORT_PA_DATA]

endless:
nop
ba endless
nop


0 comments on commit d207cf5

Please sign in to comment.