Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2731d70f authored by Rob Swindell's avatar Rob Swindell Committed by David S. Miller
Browse files

bnxt_en: Add support for upgrading APE/NC-SI firmware via Ethtool FLASHDEV



NC-SI firmware of type apeFW (10) is now supported.

Signed-off-by: default avatarRob Swindell <swindell@broadcom.com>
Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent edd0c2cc
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -818,6 +818,9 @@ static int bnxt_flash_firmware(struct net_device *dev,
	case BNX_DIR_TYPE_BOOTCODE_2:
	case BNX_DIR_TYPE_BOOTCODE_2:
		code_type = CODE_BOOT;
		code_type = CODE_BOOT;
		break;
		break;
	case BNX_DIR_TYPE_APE_FW:
		code_type = CODE_MCTP_PASSTHRU;
		break;
	default:
	default:
		netdev_err(dev, "Unsupported directory entry type: %u\n",
		netdev_err(dev, "Unsupported directory entry type: %u\n",
			   dir_type);
			   dir_type);