Home
last modified time | relevance | path

Searched hist:"1 ea2301f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/board/corscience/tricorder/
H A Dtricorder.c1ea2301f Thu Apr 10 05:52:50 CDT 2014 Andreas Bießmann <andreas.biessmann@corscience.de> board:tricorder: always work with valid eeprom data

Commit 890880583d84607e36b52a785a96b167728bbf73 introduced EEPROM parsing and
board detection but faild to return a valid tricorder_eeprom struct for backup
case. When pressing S200 while reading EEPROM we ignore the value. We
returned falsely a tricorder_eeprom struct with uninitialized data which is
just garbage.
Initialize it by zeroing the whole structure.

Signed-off-by: Andreas Bießmann <andreas.biessmann@corscience.de>
Cc: Thomas Weber <thomas.weber@corscience.de>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>