/* Terminates the current command by inverting the EEPROM's chip select pin.  */
static void e1000_stop_nvm(struct e1000_hw *hw)
/* Terminates the current command by inverting the EEPROM's chip select pin.  */
static void e1000_stop_nvm(struct e1000_hw *hw)
{
	u32 eecd;
	eecd = rd32(E1000_EECD);
	if (hw->nvm.type == e1000_nvm_eeprom_spi) {
		eecd |= E1000_EECD_CS;
		igb_lower_eec_clk(hw, &eecd);
	}
}