commit | f27be80735878af8a5063353d3c3cc6a019fb3d6 | [log] [tgz] |
---|---|---|
author | Josua Mayer <josua@solid-run.com> | Fri May 05 11:20:48 2023 +0300 |
committer | Stefan Roese <sr@denx.de> | Mon May 08 10:47:11 2023 +0200 |
tree | 94dd3c46e0af9d77cbad7d689f9b8515fb506906 | |
parent | e411c971992fe4c2cfcc3b9b232779bf1361cd50 [diff] |
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: Josua Mayer <josua@solid-run.com> Reviewed-by: Stefan Roese <sr@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Baruch Siach <baruch@tkos.co.il> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>