]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
km/boards: fix typo for MAC address offset config option
authorHolger Brunck <holger.brunck@ch.abb.com>
Mon, 25 Nov 2019 16:24:13 +0000 (17:24 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 10 Jan 2020 15:25:13 +0000 (10:25 -0500)
This patch only fixes a typo.

Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com>
CC: Stefan Roese <sr@denx.de>
CC: Valentin Longchamp <valentin.longchamp@ch.abb.com>
Reviewed-by: Stefan Roese <sr@denx.de>
board/keymile/Kconfig
board/keymile/common/ivm.c
configs/kmcoge5un_defconfig
configs/mgcoge3un_defconfig

index 5f512d56dac951845a8aeea21845844317511095..634dbbe097b5e5554ba28deb2d78855b69bae63e 100644 (file)
@@ -76,7 +76,7 @@ config KM_COMMON_ETH_INIT
          Use the Ethernet initialization implemented in common code, which
          detects if a Piggy board is present.
 
-config PIGGY_MAC_ADRESS_OFFSET
+config PIGGY_MAC_ADDRESS_OFFSET
        int "Piggy Address Offset"
        default 0
        help
index 50df44d1c110e52200cb4301de0186122544d568..429e9c7914e11c7b9bc867d99cce5e09b49fbce0 100644 (file)
@@ -309,16 +309,16 @@ static int ivm_populate_env(unsigned char *buf, int len)
 
 #ifndef CONFIG_KMTEGR1
        /* if an offset is defined, add it */
-       process_mac(valbuf, page2, CONFIG_PIGGY_MAC_ADRESS_OFFSET, true);
+       process_mac(valbuf, page2, CONFIG_PIGGY_MAC_ADDRESS_OFFSET, true);
        env_set((char *)"ethaddr", (char *)valbuf);
 #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
  * gets the official MAC address from the IVM
  */
-       process_mac(valbuf, page2, CONFIG_PIGGY_MAC_ADRESS_OFFSET, false);
+       process_mac(valbuf, page2, CONFIG_PIGGY_MAC_ADDRESS_OFFSET, false);
        env_set((char *)"ethaddr", (char *)valbuf);
-       process_mac(valbuf, page2, CONFIG_PIGGY_MAC_ADRESS_OFFSET, true);
+       process_mac(valbuf, page2, CONFIG_PIGGY_MAC_ADDRESS_OFFSET, true);
        env_set((char *)"eth1addr", (char *)valbuf);
 #endif
 
index a1be25c58d76fe79abb71d0b1e2e45fcb6709233..80a7555b541dd3570e045d91ebd5136797c882e8 100644 (file)
@@ -4,7 +4,7 @@ CONFIG_ARCH_CPU_INIT=y
 CONFIG_KIRKWOOD=y
 CONFIG_SYS_TEXT_BASE=0x07d00000
 CONFIG_TARGET_KM_KIRKWOOD=y
-CONFIG_PIGGY_MAC_ADRESS_OFFSET=3
+CONFIG_PIGGY_MAC_ADDRESS_OFFSET=3
 CONFIG_KM_ENV_IS_IN_SPI_NOR=y
 CONFIG_KM_PIGGY4_88E6352=y
 CONFIG_ENV_SIZE=0x2000
index e7c39d2719e74f05f9362aca1e2bfb6604b966ac..1604349bc937d10ed05e62fa7d31deb133119f27 100644 (file)
@@ -4,7 +4,7 @@ CONFIG_ARCH_CPU_INIT=y
 CONFIG_KIRKWOOD=y
 CONFIG_SYS_TEXT_BASE=0x07d00000
 CONFIG_TARGET_KM_KIRKWOOD=y
-CONFIG_PIGGY_MAC_ADRESS_OFFSET=3
+CONFIG_PIGGY_MAC_ADDRESS_OFFSET=3
 CONFIG_KM_PIGGY4_88E6061=y
 CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_OFFSET=0x0