summaryrefslogtreecommitdiff
path: root/include/configs/bav335x.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-09-19 17:31:30 (GMT)
committerTom Rini <trini@konsulko.com>2016-09-27 14:46:45 (GMT)
commit6828e602b722d1137d17ca0d25a451c7743c2770 (patch)
treea69a45a6c8e0fa58cc2d259bc816331da6ab20a0 /include/configs/bav335x.h
parent6ad6102246d83ec1d39aeba83f66cf5faffd0f82 (diff)
downloadu-boot-6828e602b722d1137d17ca0d25a451c7743c2770.tar.xz
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/bav335x.h')
-rw-r--r--include/configs/bav335x.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/configs/bav335x.h b/include/configs/bav335x.h
index 82d82f4..0eb0c03 100644
--- a/include/configs/bav335x.h
+++ b/include/configs/bav335x.h
@@ -465,8 +465,6 @@ DEFAULT_LINUX_BOOT_ENV \
/* USB Device Firmware Update support */
#ifndef CONFIG_SPL_BUILD
-#define CONFIG_USB_FUNCTION_DFU
-#define CONFIG_DFU_MMC
#define DFU_ALT_INFO_MMC \
"dfu_alt_info_mmc=" \
"boot part 0 1;" \
@@ -481,7 +479,6 @@ DEFAULT_LINUX_BOOT_ENV \
"u-boot.img fat 0 1;" \
"uEnv.txt fat 0 1\0"
#ifdef CONFIG_NAND
-#define CONFIG_DFU_NAND
#define DFU_ALT_INFO_NAND \
"dfu_alt_info_nand=" \
"SPL part 0 1;" \
@@ -495,7 +492,6 @@ DEFAULT_LINUX_BOOT_ENV \
#else
#define DFU_ALT_INFO_NAND ""
#endif
-#define CONFIG_DFU_RAM
#define DFU_ALT_INFO_RAM \
"dfu_alt_info_ram=" \
"kernel ram 0x80200000 0xD80000;" \