ARM: tegra: enable DFU for RAM
authorStephen Warren <swarren@nvidia.com>
Sat, 5 Sep 2015 04:03:51 +0000 (22:03 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Sep 2015 21:15:26 +0000 (17:15 -0400)
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@nvidia.com>
include/configs/tegra-common-usb-gadget.h

index b1a14cbe73b589d2fc2895a2e95a6ca949e42056..f6e1d5c4db2dc9b7ccd6f87e90b6c8fe30ab9b04 100644 (file)
@@ -39,6 +39,7 @@
 #ifdef CONFIG_SPI_FLASH
 #define CONFIG_DFU_SF
 #endif
+#define CONFIG_DFU_RAM
 #endif
 
 #endif /* _TEGRA_COMMON_USB_GADGET_H_ */