|
@@ -29,6 +29,7 @@
|
|
|
#include <dm/platform_data/serial_mxc.h>
|
|
|
#include <dm/platdata.h>
|
|
|
#include <fsl_esdhc.h>
|
|
|
+#include <g_dnl.h>
|
|
|
#include <i2c.h>
|
|
|
#include <imx_thermal.h>
|
|
|
#include <linux/errno.h>
|
|
@@ -1234,6 +1235,18 @@ void reset_cpu(ulong addr)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
+#ifdef CONFIG_SPL_USB_GADGET_SUPPORT
|
|
|
+int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name)
|
|
|
+{
|
|
|
+ unsigned short usb_pid;
|
|
|
+
|
|
|
+ usb_pid = TORADEX_USB_PRODUCT_NUM_OFFSET + 0xfff;
|
|
|
+ put_unaligned(usb_pid, &dev->idProduct);
|
|
|
+
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+#endif
|
|
|
+
|
|
|
#endif
|
|
|
|
|
|
static struct mxc_serial_platdata mxc_serial_plat = {
|