From 6828e602b722d1137d17ca0d25a451c7743c2770 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Mon, 19 Sep 2016 13:31:30 -0400 Subject: 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 Signed-off-by: Tom Rini Acked-by: Lukasz Majewski --- include/configs/zynq-common.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/configs/zynq-common.h') diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 260df2f..f1c9bed 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 " \ -- cgit v1.1