From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: Fri, 10 Sep 2021 14:16:23 +0000 (+0200)
Subject: configs: sandbox: add USB_ETHER and GADGET_DOWNLOAD gadget support
X-Git-Tag: v2025.01-rc5-pxa1908~1682^2~1
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=299f12508b16c5751a173bf0f32154aeb7b71cce;p=u-boot.git

configs: sandbox: add USB_ETHER and GADGET_DOWNLOAD gadget support

This is needed for new gadget binding test.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Reviewed-by: Simon Glass <sjg@chromium.org>
---

diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index ea08a9e5bd..4bd01118d0 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -266,6 +266,10 @@ CONFIG_SANDBOX_TIMER=y
 CONFIG_USB=y
 CONFIG_USB_EMUL=y
 CONFIG_USB_KEYBOARD=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_DOWNLOAD=y
+CONFIG_USB_ETHER=y
+CONFIG_USB_ETH_CDC=y
 CONFIG_DM_VIDEO=y
 CONFIG_VIDEO_COPY=y
 CONFIG_CONSOLE_ROTATION=y