9
0
Fork 0

startup: we can only mount root and devfs when compiled in

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2011-04-07 17:47:20 +02:00
parent 5b27fcbde4
commit 4b935522de
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{