u-boot/board/corscience/tricorder
Andreas Bießmann 1ea2301fcf board:tricorder: always work with valid eeprom data
Commit 890880583d 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>
2014-04-11 10:08:42 -04:00
..
led.c tricorder: add led support 2013-11-01 15:55:59 -04:00
Makefile Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
tricorder-eeprom.c tricorder: add tricordereeprom command 2013-11-01 15:55:58 -04:00
tricorder-eeprom.h tricorder: add tricordereeprom command 2013-11-01 15:55:58 -04:00
tricorder.c board:tricorder: always work with valid eeprom data 2014-04-11 10:08:42 -04:00
tricorder.h tricorder: add led support 2013-11-01 15:55:59 -04:00