summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2015-09-04 22:03:51 -0600
committerTom Rini <trini@konsulko.com>2015-09-11 17:15:26 -0400
commitaa46b408a5b3c9042e8383917f962e1c3a0ae2f2 (patch)
tree8f6f2e61d530837a37b2e476d456673e223d0e09 /include
parent68295a48bf9d1939f91fe0b26c5afe8dd0f3dfa0 (diff)
downloadu-boot-imx-aa46b408a5b3c9042e8383917f962e1c3a0ae2f2.zip
u-boot-imx-aa46b408a5b3c9042e8383917f962e1c3a0ae2f2.tar.gz
u-boot-imx-aa46b408a5b3c9042e8383917f962e1c3a0ae2f2.tar.bz2
ARM: tegra: enable DFU for RAM
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/tegra-common-usb-gadget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/tegra-common-usb-gadget.h b/include/configs/tegra-common-usb-gadget.h
index b1a14cb..f6e1d5c 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_ */