summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-08-01 19:58:06 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2011-08-01 16:31:46 +0200
commit2222dbc28668e478ec27cff13f8d4c9498d8519a (patch)
tree7d963bde1d3c69e43ef09298bb80cebfa557b3ca /include/asm-generic
parent8ba794abd43d672eb28cd4edc5778b87a3ad268e (diff)
downloadbarebox-2222dbc28668e478ec27cff13f8d4c9498d8519a.tar.gz
barebox-2222dbc28668e478ec27cff13f8d4c9498d8519a.tar.xz
init: introduce mem, mmu and postmmu initcall
on ARM we need to init all the memory before the mmu and before any drivers use dma_alloc_coherent Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/barebox.lds.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-generic/barebox.lds.h b/include/asm-generic/barebox.lds.h
index 842e52cfc7..8aee5d2ce4 100644
--- a/include/asm-generic/barebox.lds.h
+++ b/include/asm-generic/barebox.lds.h
@@ -16,7 +16,10 @@
KEEP(*(.initcall.5)) \
KEEP(*(.initcall.6)) \
KEEP(*(.initcall.7)) \
- KEEP(*(.initcall.8))
+ KEEP(*(.initcall.8)) \
+ KEEP(*(.initcall.9)) \
+ KEEP(*(.initcall.10)) \
+ KEEP(*(.initcall.11))
#define BAREBOX_CMDS KEEP(*(SORT_BY_NAME(.barebox_cmd*)))