net/ice/base: move functions from common to NVM module
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 23 Mar 2020 07:17:52 +0000 (15:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
commit77a649999047f6e11bc135f46b5663f5df1ddcc7
tree115d08e855478d5bcecc6570ca16eff47345dfd5
parented56a562aff5e3f59c4a65d035f5e0bd7d078142
net/ice/base: move functions from common to NVM module

The ice_get_pfa_module_tlv and ice_read_pba_string functions primarily
deal with reading from the Shadow RAM portion of the NVM contents. As
these functions are NVM focused, move them into the ice_nvm.c file.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_common.c
drivers/net/ice/base/ice_common.h
drivers/net/ice/base/ice_nvm.c
drivers/net/ice/base/ice_nvm.h