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/am43xx_evm.h | |
parent | 6ad6102246d83ec1d39aeba83f66cf5faffd0f82 (diff) | |
download | u-boot-6828e602b722d1137d17ca0d25a451c7743c2770.zip u-boot-6828e602b722d1137d17ca0d25a451c7743c2770.tar.gz u-boot-6828e602b722d1137d17ca0d25a451c7743c2770.tar.bz2 |
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/am43xx_evm.h')
-rw-r--r-- | include/configs/am43xx_evm.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index 19ccbcb..20f207c 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -122,10 +122,7 @@ #ifndef CONFIG_SPL_BUILD /* USB Device Firmware Update support */ -#define CONFIG_USB_FUNCTION_DFU -#define CONFIG_DFU_RAM -#define CONFIG_DFU_MMC #define DFU_ALT_INFO_MMC \ "dfu_alt_info_mmc=" \ "boot part 0 1;" \ @@ -141,14 +138,12 @@ "MLO raw 0x100 0x100 mmcpart 0;" \ "u-boot.img raw 0x300 0x1000 mmcpart 0\0" -#define CONFIG_DFU_RAM #define DFU_ALT_INFO_RAM \ "dfu_alt_info_ram=" \ "kernel ram 0x80200000 0x4000000;" \ "fdt ram 0x80f80000 0x80000;" \ "ramdisk ram 0x81000000 0x4000000\0" -#define CONFIG_DFU_SF #define DFU_ALT_INFO_QSPI \ "dfu_alt_info_qspi=" \ "u-boot.bin raw 0x0 0x080000;" \ |