Commit 65fcf557 authored by Dean Luick's avatar Dean Luick Committed by Greg Kroah-Hartman

staging/rdma/hfi1: Always download SBus firmware

B0 dual port parts require the SBus firmware to always be
downloaded.

Remove reset of the SBus Master spico.  It is not necessary
since the SBus firmware download already does that.
Reviewed-by: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: default avatarDean Luick <dean.luick@intel.com>
Signed-off-by: default avatarJubin John <jubin.john@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bf70a775
...@@ -1568,7 +1568,7 @@ int load_pcie_firmware(struct hfi1_devdata *dd) ...@@ -1568,7 +1568,7 @@ int load_pcie_firmware(struct hfi1_devdata *dd)
/* both firmware loads below use the SBus */ /* both firmware loads below use the SBus */
set_sbus_fast_mode(dd); set_sbus_fast_mode(dd);
if (fw_sbus_load && (dd->flags & HFI1_DO_INIT_ASIC)) { if (fw_sbus_load) {
turn_off_spicos(dd, SPICO_SBUS); turn_off_spicos(dd, SPICO_SBUS);
ret = load_sbus_firmware(dd, &fw_sbus); ret = load_sbus_firmware(dd, &fw_sbus);
if (ret) if (ret)
......
...@@ -949,17 +949,7 @@ int do_pcie_gen3_transition(struct hfi1_devdata *dd) ...@@ -949,17 +949,7 @@ int do_pcie_gen3_transition(struct hfi1_devdata *dd)
} }
retry: retry:
/* the SBus download will reset the spico for thermal */
if (therm) {
/*
* toggle SPICO_ENABLE to get back to the state
* just after the firmware load
*/
sbus_request(dd, SBUS_MASTER_BROADCAST, 0x01,
WRITE_SBUS_RECEIVER, 0x00000040);
sbus_request(dd, SBUS_MASTER_BROADCAST, 0x01,
WRITE_SBUS_RECEIVER, 0x00000140);
}
/* step 3: download SBus Master firmware */ /* step 3: download SBus Master firmware */
/* step 4: download PCIe Gen3 SerDes firmware */ /* step 4: download PCIe Gen3 SerDes firmware */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment