From: Nobuhiro Iwamatsu Date: Fri, 16 Oct 2009 10:17:30 +0900 Subject: [U-Boot] [PATCH] sh: Remove malloc_bin_reloc from SH In-Reply-To: <1255611891.25138.175.camel@localhost.localdomain> References: <29ab51dc0910142327u615cff2akdce9db8dc23cb799@mail.gmail.com> <1255611891.25138.175.camel@localhost.localdomain> Message-ID: <29ab51dc0910151817u36dfd47dp6476e555494c333d@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, Peter. 2009/10/15 Peter Tyser : >> diff --git a/lib_sh/board.c b/lib_sh/board.c >> index 5ed40e9..c97e20c 100644 >> --- a/lib_sh/board.c >> +++ b/lib_sh/board.c >> @@ -32,7 +32,6 @@ >> ?#include >> ?#endif >> >> -extern void malloc_bin_reloc (void); >> ?extern int cpu_init(void); >> ?extern int board_init(void); >> ?extern int dram_init(void); >> @@ -92,7 +91,6 @@ static int sh_mem_env_init(void) >> ?{ >> ? ? ? mem_malloc_init(TEXT_BASE - CONFIG_SYS_GBL_DATA_SIZE - >> ? ? ? ? ? ? ? ? ? ? ? CONFIG_SYS_MALLOC_LEN, CONFIG_SYS_MALLOC_LEN - 16); >> - ? ? malloc_bin_reloc(); >> ? ? ? env_relocate(); >> ? ? ? jumptable_init(); >> ? ? ? return 0; > > Hi Nobuhiro, > Thanks for catching that. ?Would you mind sending a patch that made the > same change for sh as well as nios, and nios2? ?All 3 seem to have the > same issue. > OK, I will resend soon. Nobuhiro -- Nobuhiro Iwamatsu / Debian Developer iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6