]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ice: Remove gate to OROM init
authorJeb Cramer <jeb.j.cramer@intel.com>
Thu, 17 Sep 2020 20:13:42 +0000 (13:13 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 9 Dec 2020 16:11:54 +0000 (08:11 -0800)
Remove the gate that prevents the OROM and netlist info from being
populated.  The NVM now has the appropriate section for software to
reference the versioning info.

Signed-off-by: Jeb Cramer <jeb.j.cramer@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_nvm.c

index 5903a36763de14f5e90a25c63e023e53cd607206..cd442a5415d1c47544a267de5eb19806f030bb13 100644 (file)
@@ -634,32 +634,6 @@ enum ice_status ice_init_nvm(struct ice_hw *hw)
                return status;
        }
 
-       switch (hw->device_id) {
-       /* the following devices do not have boot_cfg_tlv yet */
-       case ICE_DEV_ID_E823C_BACKPLANE:
-       case ICE_DEV_ID_E823C_QSFP:
-       case ICE_DEV_ID_E823C_SFP:
-       case ICE_DEV_ID_E823C_10G_BASE_T:
-       case ICE_DEV_ID_E823C_SGMII:
-       case ICE_DEV_ID_E822C_BACKPLANE:
-       case ICE_DEV_ID_E822C_QSFP:
-       case ICE_DEV_ID_E822C_10G_BASE_T:
-       case ICE_DEV_ID_E822C_SGMII:
-       case ICE_DEV_ID_E822C_SFP:
-       case ICE_DEV_ID_E822L_BACKPLANE:
-       case ICE_DEV_ID_E822L_SFP:
-       case ICE_DEV_ID_E822L_10G_BASE_T:
-       case ICE_DEV_ID_E822L_SGMII:
-       case ICE_DEV_ID_E823L_BACKPLANE:
-       case ICE_DEV_ID_E823L_SFP:
-       case ICE_DEV_ID_E823L_10G_BASE_T:
-       case ICE_DEV_ID_E823L_1GBE:
-       case ICE_DEV_ID_E823L_QSFP:
-               return status;
-       default:
-               break;
-       }
-
        status = ice_get_orom_ver_info(hw);
        if (status) {
                ice_debug(hw, ICE_DBG_INIT, "Failed to read Option ROM info.\n");