diff options
author | Easwar Hariharan | 2016-02-09 23:29:13 +0100 |
---|---|---|
committer | Doug Ledford | 2016-03-11 02:38:05 +0100 |
commit | c3838b396b425b4242bfe627bfabefc4c1af56f2 (patch) | |
tree | ffc72e8610bc0519a0c67e430940ff598b5184d9 /drivers/staging/rdma/hfi1/chip.c | |
parent | IB/qib,staging/rdma/hfi1: use setup_timer api (diff) | |
download | kernel-qcow2-linux-c3838b396b425b4242bfe627bfabefc4c1af56f2.tar.gz kernel-qcow2-linux-c3838b396b425b4242bfe627bfabefc4c1af56f2.tar.xz kernel-qcow2-linux-c3838b396b425b4242bfe627bfabefc4c1af56f2.zip |
staging/rdma/hfi1: Fetch platform configuration data from EFI variable
The platform configuration data has been moved into the EFI variable
store where it is populated by the HFI1 option ROM. This patch pulls
the configuration data from the new location, retaining a fallback to
request_firmware.
Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging/rdma/hfi1/chip.c')
-rw-r--r-- | drivers/staging/rdma/hfi1/chip.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/rdma/hfi1/chip.c b/drivers/staging/rdma/hfi1/chip.c index 77b07c3a85a7..4750e3c2db3e 100644 --- a/drivers/staging/rdma/hfi1/chip.c +++ b/drivers/staging/rdma/hfi1/chip.c @@ -14096,6 +14096,9 @@ struct hfi1_devdata *hfi1_init_dd(struct pci_dev *pdev, if (ret) goto bail_cleanup; + /* Needs to be called before hfi1_firmware_init */ + get_platform_config(dd); + /* read in firmware */ ret = hfi1_firmware_init(dd); if (ret) |