Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- common/startup.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/common/startup.c b/common/startup.c index aa76cb7..b487c5b 100644 --- a/common/startup.c +++ b/common/startup.c @@ -103,6 +103,7 @@ static int register_default_env(void) device_initcall(register_default_env); #endif +#if defined CONFIG_FS_RAMFS && defined CONFIG_FS_DEVFS static int mount_root(void) { mount("none", "ramfs", "/"); @@ -111,6 +112,7 @@ static int mount_root(void) return 0; } fs_initcall(mount_root); +#endif void start_barebox (void) { -- 1.7.2.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox