83xx/km83xx: read the IVM eeprom earlier
authorValentin Longchamp <valentin.longchamp@keymile.com>
Tue, 10 Feb 2015 16:10:16 +0000 (17:10 +0100)
committerTom Rini <trini@ti.com>
Mon, 16 Feb 2015 20:48:35 +0000 (15:48 -0500)
commitf32b3d3fcec10dfc6a6848f8cc6a9eab9407aabf
tree3f91eebbbb3fe149bd0f20142fca7a4b046f24ac
parent0fdb6eadff19da604ea8907140421ec07b8bcc19
83xx/km83xx: read the IVM eeprom earlier

This allows to define the ethaddr env variable according to the the IVM
content by reading the IVM in misc_init_r.

Later, when HUSH is available the content read earlier is analyzed to
populate some non env variables.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
board/keymile/km83xx/km83xx.c