mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 22:51:37 +00:00
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>
This commit is contained in:
parent
28d624be62
commit
2a78c9e719
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue