[U-Boot] [PATCH 02/13] usb: gadget: Move USBNET_HOST_ADDR to Kconfig

Simon Glass sjg at chromium.org
Tue Sep 12 12:27:48 UTC 2017


On 8 September 2017 at 11:34, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:
> While the USB Ethernet device address is already defined in Kconfig, the
> host address isn't. Convert it.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> ---
>  configs/am335x_baltos_defconfig        | 1 +
>  configs/am335x_boneblack_defconfig     | 1 +
>  configs/am335x_evm_norboot_defconfig   | 1 +
>  configs/pxm2_defconfig                 | 1 +
>  configs/rastaban_defconfig             | 1 +
>  configs/warp7_defconfig                | 1 +
>  configs/warp7_secure_defconfig         | 1 +
>  drivers/usb/gadget/Kconfig             | 4 ++++
>  include/configs/am335x_evm.h           | 1 -
>  include/configs/baltos.h               | 1 -
>  include/configs/h2200.h                | 1 -
>  include/configs/siemens-am33x-common.h | 1 -
>  include/configs/warp7.h                | 1 -
>  scripts/config_whitelist.txt           | 1 -
>  14 files changed, 11 insertions(+), 6 deletions(-)
>
[..]

> index d52626908846..84c8bf84da5f 100644
> --- a/drivers/usb/gadget/Kconfig
> +++ b/drivers/usb/gadget/Kconfig
> @@ -125,4 +125,8 @@ config USBNET_DEVADDR
>         string "USB Gadget Ethernet device mac address"
>         default "de:ad:be:ef:00:01"
>
> +config USBNET_HOST_ADDR
> +       string "USB Gadget Ethernet host mac address"
> +       default "de:ad:be:ef:00:00"

Please can you add help for this?


More information about the U-Boot mailing list