diff options
author | Tom Rini <trini@konsulko.com> | 2016-09-19 13:31:30 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-27 10:46:45 -0400 |
commit | 6828e602b722d1137d17ca0d25a451c7743c2770 (patch) | |
tree | a69a45a6c8e0fa58cc2d259bc816331da6ab20a0 /include/configs/zynq-common.h | |
parent | 6ad6102246d83ec1d39aeba83f66cf5faffd0f82 (diff) |
dfu: Migrate to Kconfig
Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for
CMD_DFU (as we must have the DFU command enabled to do anything DFU).
Make all of the entries in drivers/dfu/Kconfig depend on CMD_DFU and add
options for all of the back end choices that DFU can make use of.
Cc: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'include/configs/zynq-common.h')
-rw-r--r-- | include/configs/zynq-common.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 260df2f0b45..f1c9bedb1c7 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -90,8 +90,6 @@ # define CONFIG_SYS_DFU_DATA_BUF_SIZE 0x600000 # define DFU_DEFAULT_POLL_TIMEOUT 300 -# define CONFIG_USB_FUNCTION_DFU -# define CONFIG_DFU_RAM # define CONFIG_USB_CABLE_CHECK # define CONFIG_CMD_THOR_DOWNLOAD # define CONFIG_THOR_RESET_OFF @@ -106,7 +104,6 @@ "thor_ram=run dfu_ram_info && thordown 0 ram 0\0" # if defined(CONFIG_ZYNQ_SDHCI) -# define CONFIG_DFU_MMC # define DFU_ALT_INFO_MMC \ "dfu_mmc_info=" \ "set dfu_alt_info " \ |