[v2] imx_v6_v7_defconfig: Build USB_CONFIGFS into kernel
diff mbox series

Message ID a0820cfcfa4bc2d9a3949a2b57e72c23d574deb2.1570460874.git.leonard.crestez@nxp.com
State New
Headers show
Series
  • [v2] imx_v6_v7_defconfig: Build USB_CONFIGFS into kernel
Related show

Commit Message

Leonard Crestez Oct. 7, 2019, 3:09 p.m. UTC
Some imx chips (6sll, 6ulz, 7ulp) don't have ethernet support and only a
limited number of USB controllers. For such cases NXP suggests
configuring the USB controller as an ethernet gadget for network boot
testing.

Set USB_CONFIGFS to be built into the kernel so that we can configure
the ethernet gadget without needing modules.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Peter Chen <peter.chen@nxp.com>
---
Changes since v1:
* Improve commit message (sorry for messing it up)
Link to v1: https://patchwork.kernel.org/patch/11142935/

 arch/arm/configs/imx_v6_v7_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Shawn Guo Oct. 14, 2019, 12:52 p.m. UTC | #1
On Mon, Oct 07, 2019 at 06:09:44PM +0300, Leonard Crestez wrote:
> Some imx chips (6sll, 6ulz, 7ulp) don't have ethernet support and only a
> limited number of USB controllers. For such cases NXP suggests
> configuring the USB controller as an ethernet gadget for network boot
> testing.
> 
> Set USB_CONFIGFS to be built into the kernel so that we can configure
> the ethernet gadget without needing modules.
> 
> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
> Reviewed-by: Peter Chen <peter.chen@nxp.com>

Added missing 'ARM: ' prefix and applied the patch.

Shawn

> ---
> Changes since v1:
> * Improve commit message (sorry for messing it up)
> Link to v1: https://patchwork.kernel.org/patch/11142935/
> 
>  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
>

Patch
diff mbox series

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