/* Reads a single byte from the NVM using the flash access registers.  */
static s32 e1000_read_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset, u8 *data)
/* Reads a single byte from the NVM using the flash access registers.  */
static s32 e1000_read_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset, u8 *data)
{
	s32 ret_val;
	u16 word = 0;
	ret_val = e1000_read_flash_data_ich8lan(hw, offset, 1, &word);
	if (ret_val)
		return ret_val;
	*data = (u8)word;
	return 0;
}