Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181151
b: refs/heads/master
c: abec86a
h: refs/heads/master
i:
  181149: 31a0de9
  181147: 959d369
  181143: abefa78
  181135: 6ba93af
  181119: e118208
v: v3
  • Loading branch information
Paul Mundt committed Jan 28, 2010
1 parent 16a4626 commit b098522
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 24 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: d627a2ebd1a303aa4ac1962c553d1e8738735d01
refs/heads/master: abec86a80247ab3a40d2afc9c8e8c26efcab2391
4 changes: 0 additions & 4 deletions trunk/arch/sh/boot/compressed/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ targets := vmlinux vmlinux.bin vmlinux.bin.gz \

OBJECTS = $(obj)/head_$(BITS).o $(obj)/misc.o $(obj)/cache.o

ifdef CONFIG_SH_STANDARD_BIOS
OBJECTS += $(obj)/../../kernel/sh_bios.o
endif

#
# IMAGE_OFFSET is the load offset of the compression loader
#
Expand Down
19 changes: 0 additions & 19 deletions trunk/arch/sh/boot/compressed/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <asm/uaccess.h>
#include <asm/addrspace.h>
#include <asm/page.h>
#include <asm/sh_bios.h>

/*
* gzip declarations
Expand Down Expand Up @@ -66,29 +65,11 @@ static unsigned long free_mem_end_ptr;
#include "../../../../lib/decompress_unlzo.c"
#endif

#ifdef CONFIG_SH_STANDARD_BIOS
size_t strlen(const char *s)
{
int i = 0;

while (*s++)
i++;
return i;
}

int puts(const char *s)
{
int len = strlen(s);
sh_bios_console_write(s, len);
return len;
}
#else
int puts(const char *s)
{
/* This should be updated to use the sh-sci routines */
return 0;
}
#endif

void* memset(void* s, int c, size_t n)
{
Expand Down

0 comments on commit b098522

Please sign in to comment.