summaryrefslogtreecommitdiff
path: root/board/ti/common
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2016-10-11 12:39:04 -0500
committerTom Rini <trini@konsulko.com>2016-10-31 10:04:21 -0400
commit2a78c9e7196ff49bdf53d0b88b49b5eb337461fe (patch)
treeb2eceadd443b8acce1b6ef5c3a40ed6ea8b48c4b /board/ti/common
parent28d624be6211a34d029dd717bf56bc74140917f4 (diff)
ti: common: board_detect: Setup initial default value for config as well
config should have been initialized along with others as defaults. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/ti/common')
-rw-r--r--board/ti/common/board_detect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/ti/common/board_detect.c b/board/ti/common/board_detect.c
index 7c552d2065..13aac2f030 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;