mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-26 15:28:50 +00:00
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:
parent
fb1018106a
commit
ee8ce3840a
1 changed files with 3 additions and 0 deletions
|
@ -169,6 +169,9 @@ static void show_eeprom(u8 *eeprom)
|
||||||
{
|
{
|
||||||
int tlv_end;
|
int tlv_end;
|
||||||
int curr_tlv;
|
int curr_tlv;
|
||||||
|
#ifdef DEBUG
|
||||||
|
int i;
|
||||||
|
#endif
|
||||||
struct tlvinfo_header *eeprom_hdr = to_header(eeprom);
|
struct tlvinfo_header *eeprom_hdr = to_header(eeprom);
|
||||||
struct tlvinfo_tlv *eeprom_tlv;
|
struct tlvinfo_tlv *eeprom_tlv;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue