|
@@ -639,11 +639,18 @@ static int iwl_mvm_load_ucode_wait_alive(struct iwl_mvm *mvm,
|
|
|
ret = iwl_wait_notification(&mvm->notif_wait, &alive_wait,
|
|
|
MVM_UCODE_ALIVE_TIMEOUT);
|
|
|
if (ret) {
|
|
|
- if (mvm->trans->cfg->device_family == IWL_DEVICE_FAMILY_8000)
|
|
|
+ struct iwl_trans *trans = mvm->trans;
|
|
|
+
|
|
|
+ if (trans->cfg->gen2)
|
|
|
+ IWL_ERR(mvm,
|
|
|
+ "SecBoot CPU1 Status: 0x%x, CPU2 Status: 0x%x\n",
|
|
|
+ iwl_read_prph(trans, UMAG_SB_CPU_1_STATUS),
|
|
|
+ iwl_read_prph(trans, UMAG_SB_CPU_2_STATUS));
|
|
|
+ else if (trans->cfg->device_family == IWL_DEVICE_FAMILY_8000)
|
|
|
IWL_ERR(mvm,
|
|
|
"SecBoot CPU1 Status: 0x%x, CPU2 Status: 0x%x\n",
|
|
|
- iwl_read_prph(mvm->trans, SB_CPU_1_STATUS),
|
|
|
- iwl_read_prph(mvm->trans, SB_CPU_2_STATUS));
|
|
|
+ iwl_read_prph(trans, SB_CPU_1_STATUS),
|
|
|
+ iwl_read_prph(trans, SB_CPU_2_STATUS));
|
|
|
mvm->cur_ucode = old_type;
|
|
|
return ret;
|
|
|
}
|