Re: [PATCH 3/3] cmd: tlv_eeprom: enable 'dev' subcommand before 'read'

2023-05-03 Thread Stefan Roese
On 4/29/23 11:15, Josua Mayer wrote: Move the handler for "tlv_eeprom dev X" command to the beginning of do_tlv_eeprom, to allow using it before issuing a "read" command for currently selected eeprom. Also remove the check if eeprom exists, since that can only work after the first execution of

[PATCH 3/3] cmd: tlv_eeprom: enable 'dev' subcommand before 'read'

2023-04-29 Thread Josua Mayer
Move the handler for "tlv_eeprom dev X" command to the beginning of do_tlv_eeprom, to allow using it before issuing a "read" command for currently selected eeprom. Also remove the check if eeprom exists, since that can only work after the first execution of read_eeprom triggered device lookup.