]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Fix typo in CONFIG_USBNET_DEVADDR
authorIgnacio Zamora <nachopitt@gmail.com>
Sat, 8 Oct 2022 14:50:56 +0000 (09:50 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Oct 2022 15:11:19 +0000 (11:11 -0400)
Fix typo that was caused by the same feature being split in to 2 different
configuration options. Replace CONFIG_USBNET_DEVADDR with
CONFIG_USBNET_DEV_ADDR

Signed-off-by: Ignacio Zamora <nachopitt@gmail.com>
drivers/usb/gadget/Kconfig
drivers/usb/gadget/ether.c
include/configs/warp7.h

index da9c9e3f10d496fbd46ac85c31a0a47eadb8ee13..e8da73c78869f4541643fe8723354b5594bef498 100644 (file)
@@ -241,7 +241,7 @@ config USB_ETH_RNDIS
 
 endchoice
 
-config USBNET_DEVADDR
+config USBNET_DEV_ADDR
        string "USB Gadget Ethernet device mac address"
        default "de:ad:be:ef:00:01"
        help
index abb5332f1394f5269423a88d5d90ab55a0589296..6ce389de9f0cae4e7dc6ceb05b127ffbc55b5160 100644 (file)
@@ -2620,7 +2620,7 @@ static int usb_eth_probe(struct udevice *dev)
        priv->netdev = dev;
        l_priv = priv;
 
-       get_ether_addr(CONFIG_USBNET_DEVADDR, pdata->enetaddr);
+       get_ether_addr(CONFIG_USBNET_DEV_ADDR, pdata->enetaddr);
        eth_env_set_enetaddr("usbnet_devaddr", pdata->enetaddr);
 
        return 0;
index 7e9b25b07b2068a02cb6f785f845512439e50fb5..a9cc8595357608a0209fbac30b2083c4a3248aa6 100644 (file)
 /* USB Device Firmware Update support */
 #define DFU_DEFAULT_POLL_TIMEOUT       300
 
-#define CONFIG_USBNET_DEV_ADDR         "de:ad:be:af:00:01"
-
 /* Environment variable name to represent HAB enable state */
 #define HAB_ENABLED_ENVNAME            "hab_enabled"