diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2019-01-10 15:44:14 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2019-01-10 18:52:55 +0100 |
commit | db17a92d28bd57dfa550e2d91c594e10dd487c6b (patch) | |
tree | 2263bb41df055cd13483259a5359ec207e0ddcb4 /configs/spear300_usbtty_nand_defconfig | |
parent | f811e9763f4b6f6f5e3fe9c2fa30d2b6c62d289e (diff) |
usb: Make compiling gadget support optional
There is no need to compile and include this code if it is not used.
CONFIG_USB_GADGET can be used for the purpose.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Diffstat (limited to 'configs/spear300_usbtty_nand_defconfig')
-rw-r--r-- | configs/spear300_usbtty_nand_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/spear300_usbtty_nand_defconfig b/configs/spear300_usbtty_nand_defconfig index 9b90cd86389..4064ba36e97 100644 --- a/configs/spear300_usbtty_nand_defconfig +++ b/configs/spear300_usbtty_nand_defconfig @@ -28,3 +28,5 @@ CONFIG_PHY_GIGE=y CONFIG_ETH_DESIGNWARE=y CONFIG_MII=y CONFIG_CONS_INDEX=0 +CONFIG_USB=y +CONFIG_USB_GADGET=y |