Commit aa19aafa authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] 68knommu: cleanup startup code for 68EZ328 DragonEngine board

From: <gerg@snapgear.com>

Clean up debug trace in startup code of 68EZ328 DragonEngine board.
parent cd18c683
...@@ -8,17 +8,21 @@ ...@@ -8,17 +8,21 @@
#define MEM_END 0x00800000 /* Memory size 8Mb */ #define MEM_END 0x00800000 /* Memory size 8Mb */
#endif #endif
.global _start #undef CRT_DEBUG
.global _rambase
.global _ramvec
.global _ramstart
.global _ramend
.macro PUTC CHAR .macro PUTC CHAR
#ifdef CRT_DEBUG
moveq #\CHAR, %d7 moveq #\CHAR, %d7
jsr putc jsr putc
#endif
.endm .endm
.global _start
.global _rambase
.global _ramvec
.global _ramstart
.global _ramend
.data .data
/* /*
...@@ -120,6 +124,7 @@ _start: ...@@ -120,6 +124,7 @@ _start:
* Local functions * Local functions
*/ */
#ifdef CRT_DEBUG
putc: putc:
moveb %d7, 0xfffff907 moveb %d7, 0xfffff907
1: 1:
...@@ -127,3 +132,4 @@ putc: ...@@ -127,3 +132,4 @@ putc:
andw #0x2000, %d7 andw #0x2000, %d7
beq 1b beq 1b
rts rts
#endif
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