summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorB, Ravi <ravibabu@ti.com>2016-07-28 17:39:14 +0530
committerMarek Vasut <marex@denx.de>2016-09-27 23:30:17 +0200
commitbc5dbcb91813a429d168de58b37cb5b291d7be75 (patch)
treed1773cfd3e74dee64a5433dcbe8581baacb2be3d /Kconfig
parente915716a5cdb40939204b3503f9356085e39fbd2 (diff)
downloadu-boot-imx-bc5dbcb91813a429d168de58b37cb5b291d7be75.zip
u-boot-imx-bc5dbcb91813a429d168de58b37cb5b291d7be75.tar.gz
u-boot-imx-bc5dbcb91813a429d168de58b37cb5b291d7be75.tar.bz2
spl: dfu: add dfu support in SPL
Traditionally the DFU support is available only as part 2nd stage boot loader(u-boot) and DFU is not supported in SPL. The SPL-DFU feature is useful for boards which does not have MMC/SD, ethernet boot mechanism to boot the board and only has USB inteface. This patch add DFU support in SPL with RAM memory device support to load and execute u-boot. And then leverage full functionality DFU in u-boot to flash boot inital binary images to factory or bare-metal boards to memory devices like SPI, eMMC, MMC/SD card using USB interface. This SPL-DFU support can be enabled through Menuconfig->Boot Images->Enable SPL-DFU support Signed-off-by: Ravi Babu <ravibabu@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig27
1 files changed, 27 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index a759e4d..1263d0b 100644
--- a/Kconfig
+++ b/Kconfig
@@ -291,6 +291,33 @@ config FIT_IMAGE_POST_PROCESS
injected into the FIT creation (i.e. the blobs would have been pre-
processed before being added to the FIT image).
+config SPL_DFU_SUPPORT
+ bool "Enable SPL with DFU to load binaries to memory device"
+ depends on USB
+ help
+ Currently the SPL does not have capability to load the
+ binaries or boot images to boot devices like ram,eMMC,SPI,etc.
+ This feature enables the DFU (Device Firmware Upgarde) in SPL with
+ RAM memory device support. The ROM code will load and execute
+ the SPL built with dfu. The user can load binaries (u-boot/kernel) to
+ selected device partition from host-pc using dfu-utils.
+ This feature will be useful to flash the binaries to factory
+ or bare-metal boards using USB interface.
+
+choice
+ bool "DFU device selection"
+ depends on SPL_DFU_SUPPORT
+
+config SPL_DFU_RAM
+ bool "RAM device"
+ depends on SPL_DFU_SUPPORT
+ help
+ select RAM/DDR memory device for loading binary images
+ (u-boot/kernel) to the selected device partition using
+ DFU and execute the u-boot/kernel from RAM.
+
+endchoice
+
config SYS_CLK_FREQ
depends on ARC || ARCH_SUNXI
int "CPU clock frequency"