net/ice/base: implement new shadow RAM read
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 23 Mar 2020 07:17:44 +0000 (15:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
commitbbed2226fda6804a0ec4dbde359f7a8a19b2dd6f
tree0a7e750f752640b5e108f5f1507e1561a68e6498
parent9f041a72140c480fed178a743b7d327cba1031e8
net/ice/base: implement new shadow RAM read

Remove the ice_read_sr_aq function and implement ice_read_sr_word_aq
directly in terms of the new ice_read_flat_nvm function. This simplifies
the code by reducing a now unnecessary reading function.

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_nvm.c