9
0
Fork 0
Commit Graph

12 Commits

Author SHA1 Message Date
Jean-Christophe PLAGNIOL-VILLARD 2222dbc286 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>
2011-08-01 16:31:46 +02:00
Jean-Christophe PLAGNIOL-VILLARD e34c1d4fcc init: introduce __BARE_INIT for .section ".text_bare_init.text"
and make init.h availlable for assembly too

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-09-20 08:56:37 +02:00
Jean-Christophe PLAGNIOL-VILLARD 0db2f63677 initcall: add postconsole_initcall
this will allow us to print information as soon as the console will be enable

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-30 20:46:54 +02:00
Jean-Christophe PLAGNIOL-VILLARD fe5a1bd4f5 introduce pure_initcall
A "pure" initcall has no dependencies on anything else, and purely
initializes variables that couldn't be statically initialized.

This only exists for built-in code, not for modules.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-27 14:25:19 +02:00
Jean-Christophe PLAGNIOL-VILLARD 7b2c0d1595 init.h: introduce fake define (__init & __initdata) to simplify the linux sync
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-06 19:12:07 +02:00
Jean-Christophe PLAGNIOL-VILLARD bee575c9f2 initcall: add postconsole_initcall
this will allow us to print information as soon as the console will be enable

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-06 19:07:49 +02:00
Sascha Hauer db0d705898 move some init work into initcalls
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:46 +02:00
Sascha Hauer bbee767a01 init: add section for early code
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-13 16:52:14 +02:00
Sascha Hauer a12c581aa8 svn_rev_446
add postcore_initcall
2007-07-05 18:01:54 +02:00
Sascha Hauer 5118d04318 svn_rev_382
add console_initcall
2007-07-05 18:01:49 +02:00
Sascha Hauer a0b0cfc5ed svn_rev_121
implement device parameters
2007-07-05 18:01:25 +02:00
Sascha Hauer 55ebf67d3e svn_rev_120
implement initcalls
2007-07-05 18:01:24 +02:00