aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/Kconfig
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-02-08 10:48:51 -0500
committerMatt Fleming <matt.fleming@intel.com>2013-04-17 08:24:01 -0400
commit048517722cde2595a7366d0c3c72b8b1ec142a9c (patch)
tree1f54a4009c3f418285473e56bc930d606116bd11 /drivers/firmware/Kconfig
parente14ab23dde12b80db4c94b684a2e485b72b16af3 (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/Kconfig')
-rw-r--r--drivers/firmware/Kconfig36
1 files changed, 1 insertions, 35 deletions
diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
index 42c759a4d047..93876302fb2e 100644
--- a/drivers/firmware/Kconfig
+++ b/drivers/firmware/Kconfig
@@ -36,41 +36,6 @@ config FIRMWARE_MEMMAP
36 36
37 See also Documentation/ABI/testing/sysfs-firmware-memmap. 37 See also Documentation/ABI/testing/sysfs-firmware-memmap.
38 38
39config EFI_VARS
40 tristate "EFI Variable Support via sysfs"
41 depends on EFI
42 default n
43 help
44 If you say Y here, you are able to get EFI (Extensible Firmware
45 Interface) variable information via sysfs. You may read,
46 write, create, and destroy EFI variables through this interface.
47
48 Note that using this driver in concert with efibootmgr requires
49 at least test release version 0.5.0-test3 or later, which is
50 available from Matt Domsch's website located at:
51 <http://linux.dell.com/efibootmgr/testing/efibootmgr-0.5.0-test3.tar.gz>
52
53 Subsequent efibootmgr releases may be found at:
54 <http://linux.dell.com/efibootmgr>
55
56config EFI_VARS_PSTORE
57 bool "Register efivars backend for pstore"
58 depends on EFI_VARS && PSTORE
59 default y
60 help
61 Say Y here to enable use efivars as a backend to pstore. This
62 will allow writing console messages, crash dumps, or anything
63 else supported by pstore to EFI variables.
64
65config EFI_VARS_PSTORE_DEFAULT_DISABLE
66 bool "Disable using efivars as a pstore backend by default"
67 depends on EFI_VARS_PSTORE
68 default n
69 help
70 Saying Y here will disable the use of efivars as a storage
71 backend for pstore by default. This setting can be overridden
72 using the efivars module's pstore_disable parameter.
73
74config EFI_PCDP 39config EFI_PCDP
75 bool "Console device selection via EFI PCDP or HCDP table" 40 bool "Console device selection via EFI PCDP or HCDP table"
76 depends on ACPI && EFI && IA64 41 depends on ACPI && EFI && IA64
@@ -164,5 +129,6 @@ config ISCSI_IBFT
164 Otherwise, say N. 129 Otherwise, say N.
165 130
166source "drivers/firmware/google/Kconfig" 131source "drivers/firmware/google/Kconfig"
132source "drivers/firmware/efi/Kconfig"
167 133
168endmenu 134endmenu