pmaports/device/testing/u-boot-remarkable-zero-gravitas/uboot-enable-fastboot.patch

31 lines
954 B
Diff

diff --git a/include/configs/zero-gravitas.h.orig b/include/configs/zero-gravitas.h
index 818ed5689..312b10c90 100644
--- a/include/configs/zero-gravitas.h.orig
+++ b/include/configs/zero-gravitas.h
@@ -156,6 +156,26 @@
#define CONFIG_SYS_MMC_ENV_DEV 1 /* SDHC2*/
#endif
+/*Fastboot configs*/
+#define CONFIG_CMD_FASTBOOT
+#define CONFIG_USB_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR
+#define CONFIG_USB_FASTBOOT_BUF_SIZE 0x10000000
+#define CONFIG_FASTBOOT_FLASH
+#define CONFIG_FASTBOOT_FLASH_MMC_DEV 0
+
+#define CONFIG_USB_GADGET
+#define CONFIG_USB_GADGET_VBUS_DRAW 2
+#define CONFIG_USB_GADGET_DUALSPEED
+#define CONFIG_G_DNL_MANUFACTURER "Freescale"
+#define CONFIG_G_DNL_VENDOR_NUM 0x18d1
+#define CONFIG_G_DNL_PRODUCT_NUM 0x0d02
+#define CONFIG_CI_UDC
+#define CONFIG_USBDOWNLOAD_GADGET
+
+#define CONFIG_EFI_PARTITION
+#define CONFIG_PARTITION_UUIDS
+#define CONFIG_CMD_GPT
+
#define CONFIG_IMX_THERMAL
#endif /* __ZERO_GRAVITAS_H */