[PATCH 1/3] put env_push_context into postcore_initcall
Sascha Hauer
s.hauer at pengutronix.de
Mon Aug 15 05:09:02 EDT 2011
env_push_context only needs malloc, so initialize it earlier.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
common/env.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/env.c b/common/env.c
index 47cef05..defb26b 100644
--- a/common/env.c
+++ b/common/env.c
@@ -81,7 +81,7 @@ int env_push_context(void)
return 0;
}
-device_initcall(env_push_context);
+postcore_initcall(env_push_context);
/**
* FIXME
--
1.7.5.4
More information about the barebox
mailing list