X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fkeymile%2Fcommon%2Fivm.c;h=50df44d1c110e52200cb4301de0186122544d568;hb=88c7a0a8c2ce6b503ff5d5509effb2a9f844993e;hp=f1321d9899f84e63dc05faf91ad6d03523c5d792;hpb=00caae6d47645e68d6e5277aceb69592b49381a6;p=oweals%2Fu-boot.git diff --git a/board/keymile/common/ivm.c b/board/keymile/common/ivm.c index f1321d9899..50df44d1c1 100644 --- a/board/keymile/common/ivm.c +++ b/board/keymile/common/ivm.c @@ -1,12 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2011 * Holger Brunck, Keymile GmbH Hannover, holger.brunck@keymile.com - * - * SPDX-License-Identifier: GPL-2.0+ */ #include #include +#include #include #include "common.h" @@ -311,11 +311,6 @@ static int ivm_populate_env(unsigned char *buf, int len) /* if an offset is defined, add it */ process_mac(valbuf, page2, CONFIG_PIGGY_MAC_ADRESS_OFFSET, true); env_set((char *)"ethaddr", (char *)valbuf); -#ifdef CONFIG_KMVECT1 -/* KMVECT1 has two ethernet interfaces */ - process_mac(valbuf, page2, 1, true); - env_set((char *)"eth1addr", (char *)valbuf); -#endif #else /* KMTEGR1 has a special setup. eth0 has no connection to the outside and * gets an locally administred MAC address, eth1 is the debug interface and