isci: Adding EFI variable skeletal support
Adding EFI variable retrieving for OEM parameters. Still need GUID and
variable name.
Also updated the data struct for oem parameters and hex file for firmware
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
[fix CONFIG_EFI=n compile error]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c
index 6551932..1310529 100644
--- a/drivers/scsi/isci/init.c
+++ b/drivers/scsi/isci/init.c
@@ -474,10 +474,9 @@
return -ENOMEM;
pci_set_drvdata(pdev, pci_info);
- if (efi_enabled) {
- /* do EFI parsing here */
- orom = NULL;
- } else
+ if (efi_enabled)
+ orom = isci_get_efi_var(pdev);
+ else
orom = isci_request_oprom(pdev);
if (!orom) {