[U-Boot] [PATCH 10/10] ARM: tegra: enable DFU for RAM

Stephen Warren swarren at wwwdotorg.org
Sat Sep 5 06:03:51 CEST 2015


From: Stephen Warren <swarren at nvidia.com>

This allows transferring data directly to/from RAM. For example, one
could create a boot script that starts DFU on a RAM region, then once
DFU exits (which is under the control of the attached USB host, via a
USB bus reset), uses the code/data that was received over DFU.

Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
 include/configs/tegra-common-usb-gadget.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/tegra-common-usb-gadget.h b/include/configs/tegra-common-usb-gadget.h
index b1a14cbe73b5..f6e1d5c4db2d 100644
--- a/include/configs/tegra-common-usb-gadget.h
+++ b/include/configs/tegra-common-usb-gadget.h
@@ -39,6 +39,7 @@
 #ifdef CONFIG_SPI_FLASH
 #define CONFIG_DFU_SF
 #endif
+#define CONFIG_DFU_RAM
 #endif
 
 #endif /* _TEGRA_COMMON_USB_GADGET_H_ */
-- 
1.9.1



More information about the U-Boot mailing list