From: Eric Nelson <eric.nelson@boundarydevices.com>
Date: Thu, 2 Oct 2014 19:16:40 +0000 (-0700)
Subject: nitrogen6x: config: add USB Mass Storage (ums) support
X-Git-Tag: v2025.01-rc5-pxa1908~14549^2~19^2~12
X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=84e2dc0c89dc5c70ae17224141a745edcd36402c;p=u-boot.git

nitrogen6x: config: add USB Mass Storage (ums) support

Add support for the USB mass storage to enable access to on-board
storage (especially eMMC and SATA).

Details at:
        http://boundarydevices.com/u-boot-usb-mass-storage-gadget/

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---

diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h
index 2a1eb3b773..5e9b7437d9 100644
--- a/include/configs/nitrogen6x.h
+++ b/include/configs/nitrogen6x.h
@@ -368,4 +368,17 @@
 #define CONFIG_PCIE_IMX
 #endif
 
+#define CONFIG_CMD_ELF
+
+#define CONFIG_USB_GADGET
+#define CONFIG_CMD_USB_MASS_STORAGE
+#define CONFIG_USB_GADGET_MASS_STORAGE
+#define CONFIG_USBDOWNLOAD_GADGET
+#define CONFIG_USB_GADGET_VBUS_DRAW	2
+
+/* Netchip IDs */
+#define CONFIG_G_DNL_VENDOR_NUM 0x0525
+#define CONFIG_G_DNL_PRODUCT_NUM 0xa4a5
+#define CONFIG_G_DNL_MANUFACTURER "Boundary"
+
 #endif	       /* __CONFIG_H */