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 @@ 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 @@ return 0; } fs_initcall(mount_root); +#endif void start_barebox (void) {