[PATCH 0/3] cmd: tlv_eeprom: global variables and error cleanup
Josua Mayer
josua at solid-run.com
Sat Apr 29 11:15:10 CEST 2023
This patch-set removes some uses of global variables, and improves error
reporting for the "read" command.
It is intended to help switching to a split tlv library eventually,
but general enough to apply independently.
Josua Mayer (3):
cmd: tlv_eeprom: remove use of global variable has_been_read
cmd: tlv_eeprom: handle -ENODEV error from read_eeprom function
cmd: tlv_eeprom: enable 'dev' subcommand before 'read'
cmd/tlv_eeprom.c | 61 +++++++++++++++++++++++++++++++-----------------
1 file changed, 39 insertions(+), 22 deletions(-)
--
2.35.3
More information about the U-Boot
mailing list