diff options
author | Sven Auhagen <Sven.Auhagen@voleatech.de> | 2021-09-12 09:25:44 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-10-21 07:39:05 +0200 |
commit | ee8ce3840aec25cf38b3059fc43cfa7ca6003f55 (patch) | |
tree | 377f2135a9bb572ce85fae0d623aeabc59b2891f /cmd/tlv_eeprom.c | |
parent | fb1018106a7bbb1a0d723029f6760b1b1b4d306d (diff) | |
download | u-boot-ee8ce3840aec25cf38b3059fc43cfa7ca6003f55.tar.gz |
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>
Diffstat (limited to 'cmd/tlv_eeprom.c')
-rw-r--r-- | cmd/tlv_eeprom.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/tlv_eeprom.c b/cmd/tlv_eeprom.c index 2b643f9587..bf8d453dc5 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; |