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

15 lines
278 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>
2007-07-05 16:02:16 +00:00
#include <asm/u-boot-arm.h>
2007-07-12 09:52:12 +00:00
#include <reloc.h>
2007-07-05 16:01:29 +00:00
2007-07-05 16:01:31 +00:00
int arm_mem_malloc_init(void)
2007-07-05 16:01:29 +00:00
{
2007-07-12 09:52:12 +00:00
mem_malloc_init((void *)(_u_boot_start - CFG_MALLOC_LEN),
(void *)_u_boot_start);
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);