[U-Boot] [PATCH v1 5/5] colibri_t20: enable dfu also for nand

Marcel Ziswiler marcel.ziswiler at toradex.com
Fri Sep 9 18:10:41 CEST 2016


Enable USB gadget DFU functionality for NAND as well.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>

---

 include/configs/colibri_t20.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h
index c15f0cb..33e1ef5 100644
--- a/include/configs/colibri_t20.h
+++ b/include/configs/colibri_t20.h
@@ -31,6 +31,9 @@
 #define CONFIG_GENERIC_MMC
 #define CONFIG_TEGRA_MMC
 
+/* USB DFU */
+#define CONFIG_DFU_NAND
+
 /* USB host support */
 #define CONFIG_USB_EHCI
 #define CONFIG_USB_EHCI_TEGRA
@@ -86,7 +89,10 @@
 /* Miscellaneous commands */
 #define CONFIG_FAT_WRITE
 
+#define DFU_ALT_NAND_INFO	"u-boot part 0,1;ubi part 0,4"
+
 #define BOARD_EXTRA_ENV_SETTINGS \
+	"dfu_alt_info=" DFU_ALT_NAND_INFO "\0" \
 	"mtdparts=" MTDPARTS_DEFAULT "\0"
 
 /* Increase console I/O buffer size */
-- 
2.5.5



More information about the U-Boot mailing list