summaryrefslogtreecommitdiffstats
path: root/lib_sh
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-12-27 01:52:50 +0100
committerWolfgang Denk <wd@denx.de>2007-12-27 01:52:50 +0100
commit61fb15c516fef5631e305f1976d7b3a679725856 (patch)
tree3b3e66c90349f1b5df7c2a05dd47c11f42eb58bd /lib_sh
parent6e1bbe6e3edf5f508de89114577ce7b7caa89c8a (diff)
downloadblackbird-obmc-uboot-61fb15c516fef5631e305f1976d7b3a679725856.tar.gz
blackbird-obmc-uboot-61fb15c516fef5631e305f1976d7b3a679725856.zip
Fix coding style issues; update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'lib_sh')
-rw-r--r--lib_sh/Makefile2
-rw-r--r--lib_sh/board.c4
-rw-r--r--lib_sh/sh_linux.c3
3 files changed, 4 insertions, 5 deletions
diff --git a/lib_sh/Makefile b/lib_sh/Makefile
index c84276af88..cf127a826c 100644
--- a/lib_sh/Makefile
+++ b/lib_sh/Makefile
@@ -22,7 +22,7 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a
-SOBJS =
+SOBJS =
COBJS = board.o sh_linux.o # time.o
diff --git a/lib_sh/board.c b/lib_sh/board.c
index c63ac0313a..2cd60d76be 100644
--- a/lib_sh/board.c
+++ b/lib_sh/board.c
@@ -47,7 +47,7 @@ static void mem_malloc_init (void)
mem_malloc_start = (TEXT_BASE - CFG_GBL_DATA_SIZE - CFG_MALLOC_LEN);
mem_malloc_end = (mem_malloc_start + CFG_MALLOC_LEN - 16);
mem_malloc_brk = mem_malloc_start;
- memset ((void *) mem_malloc_start, 0,
+ memset ((void *) mem_malloc_start, 0,
(mem_malloc_end - mem_malloc_start));
}
@@ -191,7 +191,7 @@ void sh_generic_init (void)
puts ("Net: ");
eth_initialize(gd->bd);
- if ((s = getenv ("bootfile")) != NULL) {
+ if ((s = getenv ("bootfile")) != NULL) {
copy_filename (BootFile, s, sizeof (BootFile));
}
#endif /* CONFIG_CMD_NET */
diff --git a/lib_sh/sh_linux.c b/lib_sh/sh_linux.c
index acd47b5db7..14b6815cd4 100644
--- a/lib_sh/sh_linux.c
+++ b/lib_sh/sh_linux.c
@@ -28,7 +28,7 @@
extern image_header_t header; /* common/cmd_bootm.c */
/* The SH kernel reads arguments from the empty zero page at location
- * 0 at the start of SDRAM. The following are copied from
+ * 0 at the start of SDRAM. The following are copied from
* arch/sh/kernel/setup.c and may require tweaking if the kernel sources
* change.
*/
@@ -72,4 +72,3 @@ void do_bootm_linux (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
kernel();
}
-
OpenPOWER on IntegriCloud