9
0
Fork 0
barebox/arch/arm/lib/arm.c

16 lines
318 B
C
Raw Normal View History

2007-07-05 16:01:31 +00:00
#include <common.h>
2007-07-05 16:01:29 +00:00
#include <init.h>
#include <mem_malloc.h>
#include <asm/barebox-arm.h>
#include <asm-generic/memory_layout.h>
2007-07-12 09:52:12 +00:00
#include <reloc.h>
2007-07-05 16:01:29 +00:00
static int arm_mem_malloc_init(void)
2007-07-05 16:01:29 +00:00
{
mem_malloc_init((void *)MALLOC_BASE,
(void *)(MALLOC_BASE + MALLOC_SIZE));
2007-07-05 16:01:31 +00:00
return 0;
2007-07-05 16:01:29 +00:00
}
2007-07-05 16:01:31 +00:00
core_initcall(arm_mem_malloc_init);