X-Git-Url: https://repo.jachan.dev/J-u-boot.git/blobdiff_plain/608a31bdec6284ad6f821226e4c62c9cd3052874..880fcc49eb40a78ed27ff575aa02034d7bd74e80:/common/board_r.c diff --git a/common/board_r.c b/common/board_r.c index e5f33f40643..62228a723e1 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -63,10 +64,8 @@ #include #include #include -#include #include #include -#include #include DECLARE_GLOBAL_DATA_PTR; @@ -204,8 +203,7 @@ static int initr_malloc(void) */ start = gd->relocaddr - TOTAL_MALLOC_LEN; gd_set_malloc_start(start); - mem_malloc_init((ulong)map_sysmem(start, TOTAL_MALLOC_LEN), - TOTAL_MALLOC_LEN); + mem_malloc_init(start, TOTAL_MALLOC_LEN); return 0; }