diff options
author | Tzipi Peres <tzipi.peres@intel.com> | 2017-06-14 10:02:47 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2017-08-09 09:35:14 +0300 |
commit | f6586b69b29ef2e4f3c606c3d2da731a5ff4f16c (patch) | |
tree | 8e653bbde35692fbd74f24972a863bf1ebcddf4f /drivers/net/wireless/intel/iwlwifi/iwl-prph.h | |
parent | cbeb58ef36a01f190a1b61e52a60d4264d420c6b (diff) | |
download | op-kernel-dev-f6586b69b29ef2e4f3c606c3d2da731a5ff4f16c.zip op-kernel-dev-f6586b69b29ef2e4f3c606c3d2da731a5ff4f16c.tar.gz |
iwlwifi: add support of FPGA fw
Load FW according to NIC type,
taking into account simulation, if exists.
This is determined by a prph register.
Signed-off-by: Tzipi Peres <tzipi.peres@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-prph.h')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/iwl-prph.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-prph.h b/drivers/net/wireless/intel/iwlwifi/iwl-prph.h index 6772c59..fbce97e 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-prph.h +++ b/drivers/net/wireless/intel/iwlwifi/iwl-prph.h @@ -404,6 +404,12 @@ enum aux_misc_master1_en { #define SB_CPU_2_STATUS 0xA01E34 #define UMAG_SB_CPU_1_STATUS 0xA038C0 #define UMAG_SB_CPU_2_STATUS 0xA038C4 +#define UMAG_GEN_HW_STATUS 0xA038C8 + +/* For UMAG_GEN_HW_STATUS reg check */ +enum { + UMAG_GEN_HW_IS_FPGA = BIT(1), +}; /* FW chicken bits */ #define LMPM_CHICK 0xA01FF8 |