efi/x86: Move efi=debug option parsing to core
authorLeif Lindholm <leif.lindholm@linaro.org>
Wed, 26 Aug 2015 13:24:56 +0000 (14:24 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 12 Oct 2015 13:20:05 +0000 (14:20 +0100)
commit12dd00e83fb83fa41dcc965cdd1e1627494348cb
tree02824c0cacd5941a2c5530d1c81ffcd47c436ed4
parent18aefbc5cc075617b00ffefba70029541e18fd1a
efi/x86: Move efi=debug option parsing to core

fed6cefe3b6e ("x86/efi: Add a "debug" option to the efi= cmdline")
adds the DBG flag, but does so for x86 only. Move this early param
parsing to core code.

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Mark Salter <msalter@redhat.com>
Cc: Borislav Petkov <bp@suse.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/platform/efi/efi.c
drivers/firmware/efi/efi.c