tricorder: rewrite tricordereeprom command
authorAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 10 Nov 2015 19:53:17 +0000 (20:53 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 22 Nov 2015 02:50:20 +0000 (21:50 -0500)
commit8961dac970ce9de35d2a14008184d815ee62e64c
tree89ae51fcc81ba7f10880aa63534a806de3996db3
parent7ec2328d9e0daf87409dff70366b58ea0e4237df
tricorder: rewrite tricordereeprom command

This rewrite uses lately promoted eeprom_init(int) function to choose the
right I2C bus when writing data to the EEPROM.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: Heiko Schocher <hs@denx.de>
Reviewed-by: Heiko Schocher <hs@denx.de>
board/corscience/tricorder/tricorder-eeprom.c