cmd: tlv_eeprom

The function show_eeprom is missing int i if debug is enabled.

Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de>
Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
Sven Auhagen 2021-09-12 09:25:44 +02:00 committed by Stefan Roese
parent fb1018106a
commit ee8ce3840a

View File

@ -169,6 +169,9 @@ static void show_eeprom(u8 *eeprom)
{
int tlv_end;
int curr_tlv;
#ifdef DEBUG
int i;
#endif
struct tlvinfo_header *eeprom_hdr = to_header(eeprom);
struct tlvinfo_tlv *eeprom_tlv;