[v2,13/14] sunxi: Imply USB_ETHER

Message ID 5827e4015932286353c569a56d3fc6e8af3c522e.1505242834.git-series.maxime.ripard@free-electrons.com
State Accepted
Commit 6e2166c18683be8a46d34cc14a0c1dca2c52fbfd
Headers show
Series
  • sunxi: convert musb to the device model and enable usb_ether
Related show

Commit Message

Maxime Ripard Sept. 12, 2017, 7:01 p.m.
Now that we can enable the usb_ether gadget, do it. This will be especially
useful for boards that don't have any ethernet controller, such as the ones
based on the A13 or A33.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Lukasz Majewski Sept. 13, 2017, 10:49 a.m. | #1
On 09/12/2017 09:01 PM, Maxime Ripard wrote:
> Now that we can enable the usb_ether gadget, do it. This will be especially
> useful for boards that don't have any ethernet controller, such as the ones
> based on the A13 or A33.
> 
> Reviewed-by: Simon Glass <sjg@chromium.org>
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
>   arch/arm/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 519f42778a8d..bce5959ef687 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -703,6 +703,7 @@ config ARCH_SUNXI
>   	imply SPL_MMC_SUPPORT if MMC
>   	imply SPL_POWER_SUPPORT
>   	imply SPL_SERIAL_SUPPORT
> +	imply USB_ETHER
>   	imply USB_GADGET
>   
>   config TARGET_TS4600
> 
Reviewed-by: Ɓukasz Majewski <lukma@denx.de>

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 519f42778a8d..bce5959ef687 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -703,6 +703,7 @@  config ARCH_SUNXI
 	imply SPL_MMC_SUPPORT if MMC
 	imply SPL_POWER_SUPPORT
 	imply SPL_SERIAL_SUPPORT
+	imply USB_ETHER
 	imply USB_GADGET
 
 config TARGET_TS4600