diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-23 12:49:41 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-25 11:52:36 +0200 |
commit | 4674fd7b6cd6705b85775cb6dfe38a583d9134bc (patch) | |
tree | eeaa3094cffe5b2abe535abc2ef6a0097665705f /common/startup.c | |
parent | 549ccf4d0c6e4235340d2b3cef92c0185956de0e (diff) | |
download | barebox-4674fd7b6cd6705b85775cb6dfe38a583d9134bc.tar.gz barebox-4674fd7b6cd6705b85775cb6dfe38a583d9134bc.tar.xz |
startup: Add initcall tracing debug option
Being able to trace initcall is very useful when trying to
find out where startup hangs. This adds a kconfig option for
it to make it easier to access.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/startup.c')
-rw-r--r-- | common/startup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/startup.c b/common/startup.c index ff00ca78ae..9b33a92c86 100644 --- a/common/startup.c +++ b/common/startup.c @@ -21,6 +21,10 @@ * */ +#ifdef CONFIG_DEBUG_INITCALLS +#define DEBUG +#endif + /** * @file * @brief Main entry into the C part of barebox |