diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-01-11 13:11:07 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-01-11 13:11:07 +0100 |
commit | 70ef1cef5c1a03a4b130f3916d47c3076880b5d6 (patch) | |
tree | cc0faaf8e07a08600f9b958850d7f7669c0ae02d /common | |
parent | e64f16cf34175d9e662edfaa02bc7895c1b50b96 (diff) | |
parent | 9e617362fc300d31a4e7f6c5b72781b58c03f78a (diff) | |
download | barebox-70ef1cef5c1a03a4b130f3916d47c3076880b5d6.tar.gz barebox-70ef1cef5c1a03a4b130f3916d47c3076880b5d6.tar.xz |
Merge branch 'for-next/pstore'
Diffstat (limited to 'common')
-rw-r--r-- | common/startup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/startup.c b/common/startup.c index 4a303b297a..093a23ba08 100644 --- a/common/startup.c +++ b/common/startup.c @@ -60,6 +60,11 @@ static int mount_root(void) mount("none", "efivarfs", "/efivars", NULL); } + if (IS_ENABLED(CONFIG_FS_PSTORE)) { + mkdir("/pstore", 0); + mount("none", "pstore", "/pstore", NULL); + } + return 0; } fs_initcall(mount_root); |