
12 Sep
2016
12 Sep
'16
8:24 p.m.
On 09/09/2016 10:10 AM, Marcel Ziswiler wrote:
Enable USB gadget DFU functionality for NAND as well.
diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h
+/* USB DFU */ +#define CONFIG_DFU_NAND
Oh, I see this file already includes tegra-common-usb-gadget.h, so USB device-mode is already enabled for this board. Does that make sense given that it doesn't actually work?
+#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" \
I would defer this to the user, since people may choose different flash layouts.