config should have been initialized along with others as defaults.

Signed-off-by: Nishanth Menon <n...@ti.com>
---
 board/ti/common/board_detect.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/board/ti/common/board_detect.c b/board/ti/common/board_detect.c
index 7c552d20656a..13aac2f03037 100644
--- a/board/ti/common/board_detect.c
+++ b/board/ti/common/board_detect.c
@@ -131,6 +131,7 @@ int __maybe_unused ti_i2c_eeprom_am_get(int bus_addr, int 
dev_addr)
        ep->name[0] = 0x0;
        ep->version[0] = 0x0;
        ep->serial[0] = 0x0;
+       ep->config[0] = 0x0;
 
        rc = ti_i2c_eeprom_get(bus_addr, dev_addr, TI_EEPROM_HEADER_MAGIC,
                               sizeof(am_ep), (uint8_t *)&am_ep);
@@ -175,6 +176,7 @@ int __maybe_unused ti_i2c_eeprom_dra7_get(int bus_addr, int 
dev_addr)
        ep->name[0] = 0x0;
        ep->version[0] = 0x0;
        ep->serial[0] = 0x0;
+       ep->config[0] = 0x0;
        ep->emif1_size = 0;
        ep->emif2_size = 0;
 
-- 
2.10.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to