net/ice/base: allow tool access to manageability register
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 16 Sep 2021 09:52:58 +0000 (17:52 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 21 Sep 2021 12:33:32 +0000 (14:33 +0200)
commita972972fe00a9f06f6fa8632981c4ee6ef8cdcd1
tree8fdce4598cd9e45ea406432ebb4b7bf3b3bf3c8d
parented2ffccdc1c862a24361f67dcf470428be142418
net/ice/base: allow tool access to manageability register

E810-T supports signed netlists and to support this, the NVM update
tool needs to be able to read the GL_MNG_DEF_DEVID register. Add
said register to the allowlist in ice_validate_nvm_rw_reg.

Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Junfeng Guo <junfeng.guo@intel.com>
drivers/net/ice/base/ice_nvm.c