X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=arch%2Fsh%2Flib%2Fboard.c;h=a302fc2e65808c858817c288aa0f7c463c682546;hb=de03f8bc4a3f7bbb09bccbf2e3a5f14b45d5ad64;hp=c97e20c3e1cfc3f3a7cc2506835c59e3071c5562;hpb=ea0364f1bbfed1e3ea711147420875cf338fe77a;p=oweals%2Fu-boot.git diff --git a/arch/sh/lib/board.c b/arch/sh/lib/board.c index c97e20c3e1..a302fc2e65 100644 --- a/arch/sh/lib/board.c +++ b/arch/sh/lib/board.c @@ -89,7 +89,7 @@ static int sh_pci_init(void) static int sh_mem_env_init(void) { - mem_malloc_init(TEXT_BASE - CONFIG_SYS_GBL_DATA_SIZE - + mem_malloc_init(CONFIG_SYS_TEXT_BASE - CONFIG_SYS_GBL_DATA_SIZE - CONFIG_SYS_MALLOC_LEN, CONFIG_SYS_MALLOC_LEN - 16); env_relocate(); jumptable_init();