public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/3] cmd: tlv_eeprom: global variables and error cleanup
@ 2023-04-29  9:15 Josua Mayer
  2023-04-29  9:15 ` [PATCH 1/3] cmd: tlv_eeprom: remove use of global variable has_been_read Josua Mayer
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Josua Mayer @ 2023-04-29  9:15 UTC (permalink / raw)
  To: u-boot; +Cc: Josua Mayer

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-05-05  8:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-29  9:15 [PATCH 0/3] cmd: tlv_eeprom: global variables and error cleanup Josua Mayer
2023-04-29  9:15 ` [PATCH 1/3] cmd: tlv_eeprom: remove use of global variable has_been_read Josua Mayer
2023-05-03  6:34   ` Stefan Roese
2023-05-03  6:55   ` Stefan Roese
2023-05-05  8:11     ` Josua Mayer
2023-04-29  9:15 ` [PATCH 2/3] cmd: tlv_eeprom: handle -ENODEV error from read_eeprom function Josua Mayer
2023-05-03  6:34   ` Stefan Roese
2023-04-29  9:15 ` [PATCH 3/3] cmd: tlv_eeprom: enable 'dev' subcommand before 'read' Josua Mayer
2023-05-03  6:35   ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox