fs: Make efivarfs a pseudo filesystem, built by default with EFI
authorLeif Lindholm <leif.lindholm@linaro.org>
Thu, 18 Dec 2014 17:50:49 +0000 (17:50 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 5 Jan 2015 14:15:58 +0000 (14:15 +0000)
efivars is currently enabled under MISC_FILESYSTEMS, which is decribed
as "such as filesystems that came from other operating systems".
In reality, it is a pseudo filesystem, providing access to the kernel
UEFI variable interface.

Since this is the preferred interface for accessing UEFI variables, over
the legacy efivars interface, also build it by default as a module if
CONFIG_EFI.

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
fs/Kconfig
fs/efivarfs/Kconfig

index 664991afe0c05b616dd6f9c8909d9d517316086e..a6bb530b1ec5457a24a7e738a5135c4e62c29a99 100644 (file)
@@ -165,6 +165,7 @@ config HUGETLB_PAGE
        def_bool HUGETLBFS
 
 source "fs/configfs/Kconfig"
+source "fs/efivarfs/Kconfig"
 
 endmenu
 
@@ -209,7 +210,6 @@ source "fs/sysv/Kconfig"
 source "fs/ufs/Kconfig"
 source "fs/exofs/Kconfig"
 source "fs/f2fs/Kconfig"
-source "fs/efivarfs/Kconfig"
 
 endif # MISC_FILESYSTEMS
 
index 367bbb10c5432e336dd861b07fd08f1740bd5f42..c2499ef174a2fb9ed42b4e87a89fa46dc1450a07 100644 (file)
@@ -1,6 +1,7 @@
 config EFIVAR_FS
        tristate "EFI Variable filesystem"
        depends on EFI
+       default m
        help
          efivarfs is a replacement filesystem for the old EFI
          variable support via sysfs, as it doesn't suffer from the
This page took 0.025903 seconds and 5 git commands to generate.