X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=lib_sh%2Fboard.c;h=5d61f0d74fe1b7f1f425468d6158c7bc97a16448;hb=f8d7b56e003fe19f37d4e9e326df9e9024a052b0;hp=26913160463387e4c9891469ff0997f53996dc46;hpb=832f4377d6ed2bafba31ea624d3a3f5197cb1e6c;p=u-boot diff --git a/lib_sh/board.c b/lib_sh/board.c index 2691316046..5d61f0d74f 100644 --- a/lib_sh/board.c +++ b/lib_sh/board.c @@ -38,15 +38,6 @@ const char version_string[] = U_BOOT_VERSION" ("U_BOOT_DATE" - "U_BOOT_TIME")"; unsigned long monitor_flash_len = CONFIG_SYS_MONITOR_LEN; -static void mem_malloc_init(ulong start, ulong size) -{ - mem_malloc_start = start; - mem_malloc_end = start + size; - mem_malloc_brk = start; - - memset((void *)mem_malloc_start, 0, size); -} - static int sh_flash_init(void) { DECLARE_GLOBAL_DATA_PTR;