diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2018-01-26 14:32:30 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-30 07:53:49 +0100 |
commit | 127837acde71b471888fe7d9ddd9125d39feb65b (patch) | |
tree | 794ed8ac39087c2351c953b827e542fcacdfe60e /include | |
parent | b82e7ef10b533ba39b799dd0214736565d7d81c3 (diff) | |
download | barebox-127837acde71b471888fe7d9ddd9125d39feb65b.tar.gz barebox-127837acde71b471888fe7d9ddd9125d39feb65b.tar.xz |
net/e1000: EEPROM isn't valid if only iNVM is available
There is no point in registering the emulated EEPROM device if only the
iNVM is available with no external flash attached to the i210, as in
practice it's only shadowing the iNVM.
When the EEPROM is populated from iNVM, the signature is not valid, which
causes other parts of the driver to fall over. To fix this just ignore
the EEPROM in that case.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions