[U-Boot] [PATCH v1 5/5] colibri_t20: enable dfu also for nand
Stephen Warren
swarren at wwwdotorg.org
Mon Sep 12 20:24:01 CEST 2016
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.
More information about the U-Boot
mailing list