diff options
author | Md Fahad Iqbal Polash <md.fahad.iqbal.polash@intel.com> | 2019-10-09 07:09:42 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-11-06 16:41:45 -0800 |
commit | 031f21475297042d86534246c1b2948fc58172b6 (patch) | |
tree | 123088c07b1ca0bd6b6205dbddffeb590ba8ec24 /drivers/net/ethernet/intel/ice/ice_nvm.h | |
parent | ice: add ethtool -m support for reading i2c eeprom modules (diff) | |
download | linux-dev-031f21475297042d86534246c1b2948fc58172b6.tar.xz linux-dev-031f21475297042d86534246c1b2948fc58172b6.zip |
ice: Update Boot Configuration Section read of NVM
The Boot Configuration Section Block has been moved to the Preserved Field
Area (PFA) of NVM. Update the NVM reads that involves Boot Configuration
Section.
Signed-off-by: Md Fahad Iqbal Polash <md.fahad.iqbal.polash@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_nvm.h')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_nvm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_nvm.h b/drivers/net/ethernet/intel/ice/ice_nvm.h new file mode 100644 index 000000000000..a9fa011c22c6 --- /dev/null +++ b/drivers/net/ethernet/intel/ice/ice_nvm.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* Copyright (c) 2019, Intel Corporation. */ + +#ifndef _ICE_NVM_H_ +#define _ICE_NVM_H_ + +enum ice_status ice_read_sr_word(struct ice_hw *hw, u16 offset, u16 *data); +#endif /* _ICE_NVM_H_ */ |