diff mbox series

imx_v6_v7_defconfig: Build USB_CONFIGFS into kernel

Message ID e4cc32cf4814aa0d63e72a824fb09f6b637b792c.1568290456.git.leonard.crestez@nxp.com (mailing list archive)
State Superseded
Headers show
Series imx_v6_v7_defconfig: Build USB_CONFIGFS into kernel | expand

Commit Message

Leonard Crestez Sept. 12, 2019, 12:16 p.m. UTC
Some imx chips don't have chips and a limited number of USB controllers.
For such cases NXP suggests configuring the USB controller as an
ethernet gadget for network boot testing.

Switch USB_CONFIGFS to be built into the kernel so that we can configure
the ethernet gadget without also deploying modules.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
---
 arch/arm/configs/imx_v6_v7_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Chen Sept. 16, 2019, 12:37 a.m. UTC | #1
> 
> Some imx chips don't have chips and a limited number of USB controllers.
> For such cases NXP suggests configuring the USB controller as an ethernet gadget
> for network boot testing.
> 
> Switch USB_CONFIGFS to be built into the kernel so that we can configure the
> ethernet gadget without also deploying modules.
> 

Yes, it could support NFS using USB Ethernet Gadget if the board doesn't have local Ethernet.

Reviewed-by: Peter Chen <peter.chen@nxp.com>

Peter

> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
> ---
>  arch/arm/configs/imx_v6_v7_defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/configs/imx_v6_v7_defconfig
> b/arch/arm/configs/imx_v6_v7_defconfig
> index ade4a2dd1a18..5debac5b038e 100644
> --- a/arch/arm/configs/imx_v6_v7_defconfig
> +++ b/arch/arm/configs/imx_v6_v7_defconfig
> @@ -325,11 +325,11 @@ CONFIG_USB_TEST=m
>  CONFIG_USB_EHSET_TEST_FIXTURE=m
>  CONFIG_NOP_USB_XCEIV=y
>  CONFIG_USB_MXS_PHY=y
>  CONFIG_USB_GADGET=y
>  CONFIG_USB_FSL_USB2=y
> -CONFIG_USB_CONFIGFS=m
> +CONFIG_USB_CONFIGFS=y
>  CONFIG_USB_CONFIGFS_SERIAL=y
>  CONFIG_USB_CONFIGFS_ACM=y
>  CONFIG_USB_CONFIGFS_OBEX=y
>  CONFIG_USB_CONFIGFS_NCM=y
>  CONFIG_USB_CONFIGFS_ECM=y
> --
> 2.17.1
Shawn Guo Oct. 6, 2019, 8:14 a.m. UTC | #2
On Thu, Sep 12, 2019 at 03:16:39PM +0300, Leonard Crestez wrote:
> Some imx chips don't have chips 

I cannot parse this.  Do you mean 'don't have Ethernet controller'?

Shawn

> and a limited number of USB controllers.
> For such cases NXP suggests configuring the USB controller as an
> ethernet gadget for network boot testing.
> 
> Switch USB_CONFIGFS to be built into the kernel so that we can configure
> the ethernet gadget without also deploying modules.
> 
> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
> ---
>  arch/arm/configs/imx_v6_v7_defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
> index ade4a2dd1a18..5debac5b038e 100644
> --- a/arch/arm/configs/imx_v6_v7_defconfig
> +++ b/arch/arm/configs/imx_v6_v7_defconfig
> @@ -325,11 +325,11 @@ CONFIG_USB_TEST=m
>  CONFIG_USB_EHSET_TEST_FIXTURE=m
>  CONFIG_NOP_USB_XCEIV=y
>  CONFIG_USB_MXS_PHY=y
>  CONFIG_USB_GADGET=y
>  CONFIG_USB_FSL_USB2=y
> -CONFIG_USB_CONFIGFS=m
> +CONFIG_USB_CONFIGFS=y
>  CONFIG_USB_CONFIGFS_SERIAL=y
>  CONFIG_USB_CONFIGFS_ACM=y
>  CONFIG_USB_CONFIGFS_OBEX=y
>  CONFIG_USB_CONFIGFS_NCM=y
>  CONFIG_USB_CONFIGFS_ECM=y
> -- 
> 2.17.1
>
diff mbox series

Patch

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index ade4a2dd1a18..5debac5b038e 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -325,11 +325,11 @@  CONFIG_USB_TEST=m
 CONFIG_USB_EHSET_TEST_FIXTURE=m
 CONFIG_NOP_USB_XCEIV=y
 CONFIG_USB_MXS_PHY=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_FSL_USB2=y
-CONFIG_USB_CONFIGFS=m
+CONFIG_USB_CONFIGFS=y
 CONFIG_USB_CONFIGFS_SERIAL=y
 CONFIG_USB_CONFIGFS_ACM=y
 CONFIG_USB_CONFIGFS_OBEX=y
 CONFIG_USB_CONFIGFS_NCM=y
 CONFIG_USB_CONFIGFS_ECM=y