startup: Load default environment earlier
Some files compiled into the default environment may be needed earlier in
the boot process, so move loading of the default environment to fs_initcall.
Only the default environment is loaded earlier, but not the overwriting with
the persistent environment files, so when the files are used that early, only
the compiled in version is available; it's not overwritable at that
time.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6a77d1c commit 5b92cfceff38f3a6462a21cf6b69159ad0ae9744
@Sascha Hauer Sascha Hauer authored on 17 May 2016
Showing 1 changed file
View
common/startup.c