Commit ef8028a7 authored by Jesper Nilsson's avatar Jesper Nilsson

CRIS v10: Correct and cleanup boot/rescue/kimagerescue.S

- Correct include path for sv_addr_ag.h, should be included from asm/arch/
- Remove useless CVS id tag.
- Correct whitespace errors and some formatting.
parent 546cc148
/* $Id: kimagerescue.S,v 1.1 2001/12/17 13:59:27 bjornw Exp $ /*
*
* Rescue code to be prepended on a kimage and copied to the * Rescue code to be prepended on a kimage and copied to the
* rescue serial port. * rescue serial port.
* This is called from the rescue code, it will copy received data to * This is called from the rescue code, it will copy received data to
...@@ -7,7 +6,7 @@ ...@@ -7,7 +6,7 @@
*/ */
#define ASSEMBLER_MACROS_ONLY #define ASSEMBLER_MACROS_ONLY
#include <asm/sv_addr_ag.h> #include <asm/arch/sv_addr_ag.h>
#define CODE_START 0x40004000 #define CODE_START 0x40004000
#define CODE_LENGTH 784 #define CODE_LENGTH 784
...@@ -81,7 +80,8 @@ ...@@ -81,7 +80,8 @@
move.d $r0, [SERXOFF] move.d $r0, [SERXOFF]
move.b 0x99, $r0 move.b 0x99, $r0
move.b $r0, [SERBAUD] ; 115.2kbaud for both transmit and receive move.b $r0, [SERBAUD] ; 115.2kbaud for both transmit
; and receive
move.b 0x40, $r0 ; rec enable move.b 0x40, $r0 ; rec enable
move.b $r0, [SERRECC] move.b $r0, [SERRECC]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment