km/ivm: always set ethaddr after reading IVM
authorHolger Brunck <holger.brunck@keymile.com>
Thu, 13 Jul 2017 09:15:40 +0000 (11:15 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 23 Jul 2017 02:22:46 +0000 (22:22 -0400)
commitb63d4f34d06e1d08571a9a2649d9f9ec0dbd806c
tree9c7cb1eb9fd58107e1e80faaf5892a60442c66c4
parent6821a7457c8a12bb4d378275807c1ea26e87d97f
km/ivm: always set ethaddr after reading IVM

If we rebrand the IVM and ethaddr was set previously we need to change
ethaddr. Otherwise we end up with a wrong MAC adress for the ethernet
interface.

Cc: Heiko Schocher <hs@denx.de>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
board/keymile/common/ivm.c