diff options
| author | Josua Mayer <[email protected]> | 2023-05-05 11:20:49 +0300 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2023-05-08 10:47:13 +0200 |
| commit | fa0af90a0ebd3557490640798ea4f5fad211d382 (patch) | |
| tree | 5c196a3493503ff0ca1ef1dad14328df5def354f /scripts/checkstack.pl | |
| parent | f6eff35b8c19dba52519fa0bbd0977787a9dbe8b (diff) | |
cmd: tlv_eeprom: enable 'dev' subcommand before 'read'
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.
Instead accept values up to the defined array size (MAX_TLV_DEVICES).
Signed-off-by: Josua Mayer <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Baruch Siach <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
