Skip to content
Commit f6eff35b authored by Josua Mayer's avatar Josua Mayer Committed by Stefan Roese
Browse files

cmd: tlv_eeprom: handle -ENODEV error from read_eeprom function



When tlv eeprom does not exist, return error code instead of quietly
making up tlv structure in memory.

Signed-off-by: default avatarJosua Mayer <josua@solid-run.com>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
parent 425d963d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment