summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:29 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:29 +0200
commit53d3195be1e45609f96b809bd5709eedee4c5829 (patch)
treee26d13287bf5841319e4f5509a39418f220df248 /arch/arm
parentabfeb961e0ea5aed05acc8e672d497d9dfcc7835 (diff)
downloadbarebox-53d3195be1e45609f96b809bd5709eedee4c5829.tar.gz
barebox-53d3195be1e45609f96b809bd5709eedee4c5829.tar.xz
svn_rev_167
ppc startup cleaunup
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/lib/arm.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/lib/arm.c b/arch/arm/lib/arm.c
new file mode 100644
index 0000000000..937623ba00
--- /dev/null
+++ b/arch/arm/lib/arm.c
@@ -0,0 +1,10 @@
+#include <init.h>
+#include <mem_malloc.h>
+
+int arm_mem_alloc_init(void)
+{
+ mem_alloc_init(_armboot_start - CFG_MALLOC_LEN,
+ _armboot_start);
+}
+
+core_initcall(arm_mem_alloc_init);