Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24534
b: refs/heads/master
c: de4533a
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Mar 28, 2006
1 parent a470312 commit cee6438
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 23 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a081568d7016061ed848696984e3acf1ba0b3054
refs/heads/master: de4533a04eb4f66dbef71f59a9c118256b886823
4 changes: 0 additions & 4 deletions trunk/arch/arm/boot/compressed/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ ifeq ($(CONFIG_ARCH_AT91RM9200),y)
OBJS += head-at91rm9200.o
endif

ifeq ($(CONFIG_DEBUG_ICEDCC),y)
OBJS += ice-dcc.o
endif

ifeq ($(CONFIG_CPU_BIG_ENDIAN),y)
OBJS += big-endian.o
endif
Expand Down
17 changes: 0 additions & 17 deletions trunk/arch/arm/boot/compressed/ice-dcc.S

This file was deleted.

15 changes: 14 additions & 1 deletion trunk/arch/arm/boot/compressed/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,20 @@ static void putstr(const char *ptr);
#include <asm/arch/uncompress.h>

#ifdef CONFIG_DEBUG_ICEDCC
extern void icedcc_putc(int ch);
static void icedcc_putc(int ch)
{
int status, i = 0x4000000;

do {
if (--i < 0)
return;

asm("mrc p14, 0, %0, c0, c0, 0" : "=r" (status));
} while (status & 2);

asm("mcr p15, 0, %0, c1, c0, 0" : : "r" (ch));
}

#define putc(ch) icedcc_putc(ch)
#define flush() do { } while (0)
#endif
Expand Down

0 comments on commit cee6438

Please sign in to comment.