summaryrefslogtreecommitdiff
path: root/board/keymile/km83xx
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@ch.abb.com>2019-11-25 19:24:14 +0300
committerTom Rini <trini@konsulko.com>2020-01-10 18:25:13 +0300
commitfd7c400962dd905611d5d3453a02fd4707da10fb (patch)
tree76a20988b3ac56ad53fe97be61970111f4a86ebd /board/keymile/km83xx
parent58e1fdb051c469049d8ed8b31f229470de4d0562 (diff)
downloadu-boot-fd7c400962dd905611d5d3453a02fd4707da10fb.tar.xz
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>
Diffstat (limited to 'board/keymile/km83xx')
-rw-r--r--board/keymile/km83xx/km83xx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c
index 5969d51395..feca7be372 100644
--- a/board/keymile/km83xx/km83xx.c
+++ b/board/keymile/km83xx/km83xx.c
@@ -186,7 +186,8 @@ int board_early_init_r(void)
int misc_init_r(void)
{
- ivm_read_eeprom(ivm_content, CONFIG_SYS_IVM_EEPROM_MAX_LEN);
+ ivm_read_eeprom(ivm_content, CONFIG_SYS_IVM_EEPROM_MAX_LEN,
+ CONFIG_PIGGY_MAC_ADDRESS_OFFSET);
return 0;
}