9
0
Fork 0

e1000: Simplify EEPROM init for e1000_igb

That chip specifies read access uising EERD via use_eerd, which means
that none of the more "advanced" EEPROM parameters will be used for
reads, so remove them.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Andrey Smirnov 2016-06-01 21:58:41 -07:00 committed by Sascha Hauer
parent 7f7833ec83
commit 8ba2db7646
1 changed files with 0 additions and 3 deletions

View File

@ -374,9 +374,6 @@ int32_t e1000_init_eeprom_params(struct e1000_hw *hw)
case e1000_igb:
/* i210 has 4k of iNVM mapped as EEPROM */
eeprom->type = e1000_eeprom_invm;
eeprom->opcode_bits = 8;
eeprom->delay_usec = 1;
eeprom->address_bits = 16;
eeprom->use_eerd = true;
break;
default: