km/common: implement setboardid command
authorHolger Brunck <holger.brunck@keymile.com>
Wed, 4 May 2011 01:47:30 +0000 (01:47 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 10 May 2011 21:19:43 +0000 (23:19 +0200)
commita9417ce74a8b79b1a3ab879d05f4f54138422c6e
tree818044e1bd2a4ed643c3ec98169ad179854761b3
parenteae3b0644c05dd863e77b9989c18cb33c4d6c363
km/common: implement setboardid command

Read out board id and HW key from the IVM eeprom and set
these values as an environment variable.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Acked-by: Heiko Schocher <hs@denx.de>
cc: Wolfgang Denk <wd@denx.de>
cc: Detlev Zundel <dzu@denx.de>
cc: Valentin Longchamp <valentin.longchamp@keymile.com>
board/keymile/common/common.c