[PATCH] cmd: tlv_eeprom

Stefan Roese sr at denx.de
Thu Oct 21 09:46:25 CEST 2021


On 21.10.21 07:36, Stefan Roese wrote:
> On 12.09.21 09:25, sven.auhagen at voleatech.de wrote:
>> From: Sven Auhagen <Sven.Auhagen at voleatech.de>
>>
>> The function show_eeprom is missing int i if debug is enabled.
>>
>> Signed-off-by: Sven Auhagen <sven.auhagen at voleatech.de>
> 
> Reviewed-by: Stefan Roese <sr at denx.de>

Applied to u-boot-marvell/master

Thanks,
Stefan

> Thanks,
> Stefan
> 
>> ---
>>   cmd/tlv_eeprom.c | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/cmd/tlv_eeprom.c b/cmd/tlv_eeprom.c
>> index 745565f89c..520e5dc738 100644
>> --- a/cmd/tlv_eeprom.c
>> +++ b/cmd/tlv_eeprom.c
>> @@ -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;
>>
> 
> 
> Viele Grüße,
> Stefan
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list