diff options
author | Wolfgang Denk <wd@denx.de> | 2007-12-27 01:52:50 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-12-27 01:52:50 +0100 |
commit | 61fb15c516fef5631e305f1976d7b3a679725856 (patch) | |
tree | 3b3e66c90349f1b5df7c2a05dd47c11f42eb58bd /lib_sh/board.c | |
parent | 6e1bbe6e3edf5f508de89114577ce7b7caa89c8a (diff) | |
download | bootable_bootloader_goldelico_gta04-61fb15c516fef5631e305f1976d7b3a679725856.zip bootable_bootloader_goldelico_gta04-61fb15c516fef5631e305f1976d7b3a679725856.tar.gz bootable_bootloader_goldelico_gta04-61fb15c516fef5631e305f1976d7b3a679725856.tar.bz2 |
Fix coding style issues; update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'lib_sh/board.c')
-rw-r--r-- | lib_sh/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_sh/board.c b/lib_sh/board.c index c63ac03..2cd60d7 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 */ |