summaryrefslogtreecommitdiffstats
path: root/include/init.h
Commit message (Collapse)AuthorAgeFilesLines
* exitcall: Add exitcall infrastructureHerve Codina2015-07-131-0/+15
| | | | | | | | exitcall infrastructure is based on initcall infrastructure. It allows to have and use exit call hooks on barebox shutdown. Signed-off-by: Herve Codina <Herve.CODINA@celad.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* startup: introduce postenvironment_initcallSascha Hauer2015-05-151-0/+2
| | | | | | | | To allow init code that depends on the environment being loaded. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* crypto: hmac: move register to hmacJean-Christophe PLAGNIOL-VILLARD2015-03-271-1/+2
| | | | | | | | | | As we will use the best sha algo at runtime Add a new init level crypto_initcall to ensure that all the sha present before hmac Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Rockchip: Update clk driver from Linux kernel for use with newer DTSAndrey Panov2015-03-051-0/+1
| | | | | Signed-off-by: Andrey Panov <rockford@yandex.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* init: introduce mem, mmu and postmmu initcallJean-Christophe PLAGNIOL-VILLARD2011-08-011-4/+7
| | | | | | | 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>
* init: introduce __BARE_INIT for .section ".text_bare_init.text"Jean-Christophe PLAGNIOL-VILLARD2010-09-201-0/+6
| | | | | | | 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>
* initcall: add postconsole_initcallJean-Christophe PLAGNIOL-VILLARD2010-08-301-4/+5
| | | | | | | 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>
* introduce pure_initcallJean-Christophe PLAGNIOL-VILLARD2010-08-271-4/+11
| | | | | | | | | | 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>
* init.h: introduce fake define (__init & __initdata) to simplify the linux syncJean-Christophe PLAGNIOL-VILLARD2010-08-061-0/+6
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* initcall: add postconsole_initcallJean-Christophe PLAGNIOL-VILLARD2010-08-061-0/+1
| | | | | | | 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>
* move some init work into initcallsSascha Hauer2009-07-211-2/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* init: add section for early codeSascha Hauer2008-08-131-0/+9
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* svn_rev_446Sascha Hauer2007-07-051-1/+2
| | | | add postcore_initcall
* svn_rev_382Sascha Hauer2007-07-051-0/+1
| | | | add console_initcall
* svn_rev_121Sascha Hauer2007-07-051-0/+1
| | | | implement device parameters
* svn_rev_120Sascha Hauer2007-07-051-0/+16
implement initcalls