diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-02-08 11:27:24 -0500 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-04-17 08:25:09 -0400 |
commit | d68772b7c83f4b518be15ae96f4827c8ed02f684 (patch) | |
tree | b3408a750976edf6e0b62bfce3e26d1c9685a907 /fs/efivarfs/Kconfig | |
parent | 048517722cde2595a7366d0c3c72b8b1ec142a9c (diff) |
efivarfs: Move to fs/efivarfs
Now that efivarfs uses the efivar API, move it out of efivars.c and
into fs/efivarfs where it belongs. This move will eventually allow us
to enable the efivarfs code without having to also enable
CONFIG_EFI_VARS built, and vice versa.
Furthermore, things like,
mount -t efivarfs none /sys/firmware/efi/efivars
will now work if efivarfs is built as a module without requiring the
use of MODULE_ALIAS(), which would have been necessary when the
efivarfs code was part of efivars.c.
Cc: Matthew Garrett <matthew.garrett@nebula.com>
Cc: Jeremy Kerr <jk@ozlabs.org>
Reviewed-by: Tom Gundersen <teg@jklm.no>
Tested-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'fs/efivarfs/Kconfig')
-rw-r--r-- | fs/efivarfs/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/efivarfs/Kconfig b/fs/efivarfs/Kconfig new file mode 100644 index 000000000000..1fb2b7f849f3 --- /dev/null +++ b/fs/efivarfs/Kconfig | |||
@@ -0,0 +1,12 @@ | |||
1 | config EFIVAR_FS | ||
2 | tristate "EFI Variable filesystem" | ||
3 | depends on EFI_VARS | ||
4 | help | ||
5 | efivarfs is a replacement filesystem for the old EFI | ||
6 | variable support via sysfs, as it doesn't suffer from the | ||
7 | same 1024-byte variable size limit. | ||
8 | |||
9 | To compile this file system support as a module, choose M | ||
10 | here. The module will be called efivarfs. | ||
11 | |||
12 | If unsure, say N. | ||