summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/arm.c
blob: 489424707ea434e0cb5dbc918f19053eff1a41f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <common.h>
#include <init.h>
#include <mem_malloc.h>
#include <asm/u-boot-arm.h>
#include <asm-generic/memory_layout.h>
#include <reloc.h>

static int arm_mem_malloc_init(void)
{
	mem_malloc_init((void *)MALLOC_BASE,
			(void *)(MALLOC_BASE + MALLOC_SIZE));
	return 0;
}

core_initcall(arm_mem_malloc_init);