diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-02-08 10:48:51 -0500 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-04-17 08:24:01 -0400 |
commit | 048517722cde2595a7366d0c3c72b8b1ec142a9c (patch) | |
tree | 1f54a4009c3f418285473e56bc930d606116bd11 /drivers/firmware/efi/Kconfig | |
parent | e14ab23dde12b80db4c94b684a2e485b72b16af3 (diff) |
efivars: Move pstore code into the new EFI directory
efivars.c has grown far too large and needs to be divided up. Create a
new directory and move the persistence storage code to efi-pstore.c now
that it uses the new efivar API. This helps us to greatly reduce the
size of efivars.c and paves the way for moving other code out of
efivars.c.
Note that because CONFIG_EFI_VARS can be built as a module efi-pstore
must also include support for building as a module.
Reviewed-by: Tom Gundersen <teg@jklm.no>
Tested-by: Tom Gundersen <teg@jklm.no>
Cc: Seiji Aguchi <seiji.aguchi@hds.com>
Cc: Anton Vorontsov <cbouatmailru@gmail.com>
Cc: Colin Cross <ccross@android.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'drivers/firmware/efi/Kconfig')
-rw-r--r-- | drivers/firmware/efi/Kconfig | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig new file mode 100644 index 000000000000..b0fc7c79dfbb --- /dev/null +++ b/drivers/firmware/efi/Kconfig | |||
@@ -0,0 +1,39 @@ | |||
1 | menu "EFI (Extensible Firmware Interface) Support" | ||
2 | depends on EFI | ||
3 | |||
4 | config EFI_VARS | ||
5 | tristate "EFI Variable Support via sysfs" | ||
6 | depends on EFI | ||
7 | default n | ||
8 | help | ||
9 | If you say Y here, you are able to get EFI (Extensible Firmware | ||
10 | Interface) variable information via sysfs. You may read, | ||
11 | write, create, and destroy EFI variables through this interface. | ||
12 | |||
13 | Note that using this driver in concert with efibootmgr requires | ||
14 | at least test release version 0.5.0-test3 or later, which is | ||
15 | available from Matt Domsch's website located at: | ||
16 | <http://linux.dell.com/efibootmgr/testing/efibootmgr-0.5.0-test3.tar.gz> | ||
17 | |||
18 | Subsequent efibootmgr releases may be found at: | ||
19 | <http://linux.dell.com/efibootmgr> | ||
20 | |||
21 | config EFI_VARS_PSTORE | ||
22 | tristate "Register efivars backend for pstore" | ||
23 | depends on EFI_VARS && PSTORE | ||
24 | default y | ||
25 | help | ||
26 | Say Y here to enable use efivars as a backend to pstore. This | ||
27 | will allow writing console messages, crash dumps, or anything | ||
28 | else supported by pstore to EFI variables. | ||
29 | |||
30 | config EFI_VARS_PSTORE_DEFAULT_DISABLE | ||
31 | bool "Disable using efivars as a pstore backend by default" | ||
32 | depends on EFI_VARS_PSTORE | ||
33 | default n | ||
34 | help | ||
35 | Saying Y here will disable the use of efivars as a storage | ||
36 | backend for pstore by default. This setting can be overridden | ||
37 | using the efivars module's pstore_disable parameter. | ||
38 | |||
39 | endmenu | ||