projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb10181
)
cmd: tlv_eeprom
author
Sven Auhagen
<Sven.Auhagen@voleatech.de>
Sun, 12 Sep 2021 07:25:44 +0000
(09:25 +0200)
committer
Stefan Roese
<sr@denx.de>
Thu, 21 Oct 2021 05:39:05 +0000
(07:39 +0200)
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>
cmd/tlv_eeprom.c
patch
|
blob
|
history
diff --git
a/cmd/tlv_eeprom.c
b/cmd/tlv_eeprom.c
index 2b643f9587c4ea80787732245751c9bb213b5afd..bf8d453dc5b659c41dd6925a4113eca4faffe9b7 100644
(file)
--- 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;