km/boards: add MAC address offset as argument to ivm_populate_env
authorHolger Brunck <holger.brunck@ch.abb.com>
Mon, 25 Nov 2019 16:24:14 +0000 (17:24 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 10 Jan 2020 15:25:13 +0000 (10:25 -0500)
commitfd7c400962dd905611d5d3453a02fd4707da10fb
tree76a20988b3ac56ad53fe97be61970111f4a86ebd
parent58e1fdb051c469049d8ed8b31f229470de4d0562
km/boards: add MAC address offset as argument to ivm_populate_env

For upcoming SECU board we have different MAC address offsets depending
on which functional unit we are running. In this case we need to pass
this value to the ivm_populate_env function instead of using the hard
coded config option there.

Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com>
CC: Stefan Roese <sr@denx.de>
CC: Valentin Longchamp <valentin.longchamp@ch.abb.com>
CC: Marek Vasut <marex@denx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
board/keymile/common/common.h
board/keymile/common/ivm.c
board/keymile/km83xx/km83xx.c
board/keymile/km_arm/km_arm.c
board/keymile/kmp204x/kmp204x.c