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 @@
#define MEM_END 0x00800000 /* Memory size 8Mb */
#endif
.global _start
.global _rambase
.global _ramvec
.global _ramstart
.global _ramend
#undef CRT_DEBUG
.macro PUTC CHAR
#ifdef CRT_DEBUG
moveq #\CHAR, %d7
jsr putc
#endif
.endm
.global _start
.global _rambase
.global _ramvec
.global _ramstart
.global _ramend
.data
/*
......@@ -120,6 +124,7 @@ _start:
* Local functions
*/
#ifdef CRT_DEBUG
putc:
moveb %d7, 0xfffff907
1:
......@@ -127,3 +132,4 @@ putc:
andw #0x2000, %d7
beq 1b
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