Skip to content
Snippets Groups Projects
Commit 2a78c9e7 authored by Nishanth Menon's avatar Nishanth Menon Committed by Tom Rini
Browse files

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: default avatarNishanth Menon <nm@ti.com>
Reviewed-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 28d624be
No related branches found
No related tags found
No related merge requests found
...@@ -131,6 +131,7 @@ int __maybe_unused ti_i2c_eeprom_am_get(int bus_addr, int dev_addr) ...@@ -131,6 +131,7 @@ int __maybe_unused ti_i2c_eeprom_am_get(int bus_addr, int dev_addr)
ep->name[0] = 0x0; ep->name[0] = 0x0;
ep->version[0] = 0x0; ep->version[0] = 0x0;
ep->serial[0] = 0x0; ep->serial[0] = 0x0;
ep->config[0] = 0x0;
rc = ti_i2c_eeprom_get(bus_addr, dev_addr, TI_EEPROM_HEADER_MAGIC, rc = ti_i2c_eeprom_get(bus_addr, dev_addr, TI_EEPROM_HEADER_MAGIC,
sizeof(am_ep), (uint8_t *)&am_ep); 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) ...@@ -175,6 +176,7 @@ int __maybe_unused ti_i2c_eeprom_dra7_get(int bus_addr, int dev_addr)
ep->name[0] = 0x0; ep->name[0] = 0x0;
ep->version[0] = 0x0; ep->version[0] = 0x0;
ep->serial[0] = 0x0; ep->serial[0] = 0x0;
ep->config[0] = 0x0;
ep->emif1_size = 0; ep->emif1_size = 0;
ep->emif2_size = 0; ep->emif2_size = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment