diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-09-06 22:53:43 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-10-03 19:12:04 +0200 |
commit | c163668a4abaeef3eaab22b4a5ac13d2d74f1306 (patch) | |
tree | 40e276aa3cdf2cbfd23c64519cf1d72c4ff7949c /drivers/usb/gadget/Kconfig | |
parent | 74e7997c70d80e4b3de0622fbff3e75f72b8c1ce (diff) | |
download | u-boot-c163668a4abaeef3eaab22b4a5ac13d2d74f1306.tar.gz u-boot-c163668a4abaeef3eaab22b4a5ac13d2d74f1306.tar.bz2 u-boot-c163668a4abaeef3eaab22b4a5ac13d2d74f1306.zip |
usb: gadget: Move USBNET_HOST_ADDR to Kconfig
While the USB Ethernet device address is already defined in Kconfig, the
host address isn't. Convert it.
Reviewed-by: Ćukasz Majewski <lukma@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 6dc9d177f5..510efd67b9 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -128,4 +128,11 @@ config USBNET_DEVADDR Ethernet MAC address of the device-side (ie. local board's) MAC address of the usb_ether interface +config USBNET_HOST_ADDR + string "USB Gadget Ethernet host mac address" + default "de:ad:be:ef:00:00" + help + Ethernet MAC address of the host-side (ie. remote device's) MAC + address of the usb_ether interface + endif # USB_GADGET |