efivars: Move pstore code into the new EFI directory
authorMatt Fleming <matt.fleming@intel.com>
Fri, 8 Feb 2013 15:48:51 +0000 (15:48 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Wed, 17 Apr 2013 12:24:01 +0000 (13:24 +0100)
commit048517722cde2595a7366d0c3c72b8b1ec142a9c
tree1f54a4009c3f418285473e56bc930d606116bd11
parente14ab23dde12b80db4c94b684a2e485b72b16af3
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>
MAINTAINERS
drivers/firmware/Kconfig
drivers/firmware/Makefile
drivers/firmware/efi/Kconfig [new file with mode: 0644]
drivers/firmware/efi/Makefile [new file with mode: 0644]
drivers/firmware/efi/efi-pstore.c [new file with mode: 0644]
drivers/firmware/efivars.c
include/linux/efi.h