diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2010-08-30 03:21:46 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-08-30 20:46:54 +0200 |
commit | 0db2f6367712cafd91460af7816f1180fa1b5446 (patch) | |
tree | 7dc904eb2c10cee7cfad2c58afc05e46c9b2acfd /include/init.h | |
parent | eaa223e79533d31e9a84b50fca3592ce7ccf694e (diff) | |
download | barebox-0db2f6367712cafd91460af7816f1180fa1b5446.tar.gz |
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>
Diffstat (limited to 'include/init.h')
-rw-r--r-- | include/init.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/init.h b/include/init.h index bc708743b8..8692b68d07 100644 --- a/include/init.h +++ b/include/init.h @@ -25,10 +25,11 @@ typedef int (*initcall_t)(void); #define core_initcall(fn) __define_initcall("1",fn,1) #define postcore_initcall(fn) __define_initcall("2",fn,2) #define console_initcall(fn) __define_initcall("3",fn,3) -#define coredevice_initcall(fn) __define_initcall("4",fn,4) -#define fs_initcall(fn) __define_initcall("5",fn,5) -#define device_initcall(fn) __define_initcall("6",fn,6) -#define late_initcall(fn) __define_initcall("7",fn,7) +#define postconsole_initcall(fn) __define_initcall("4",fn,4) +#define coredevice_initcall(fn) __define_initcall("5",fn,5) +#define fs_initcall(fn) __define_initcall("6",fn,6) +#define device_initcall(fn) __define_initcall("7",fn,7) +#define late_initcall(fn) __define_initcall("8",fn,8) /* section for code used very early when * - we're not running from where we linked at |