[U-Boot] [PATCH 3/3] ARM: tegra: usb gadgets: Allow accessing the NAND via DFU

Alban Bedel
2015-02-24T16:44:53Z

Many T20 boards use NAND instead of MMC, allow accessing it via DFU.

Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
---
include/configs/tegra-common-usb-gadget.h | 3 +++
1 file changed, 3 insertions(+)

diff --git a/include/configs/tegra-common-usb-gadget.h b/include/configs/tegra-common-usb-gadget.h
index 894b531..3fd8ab4 100644
--- a/include/configs/tegra-common-usb-gadget.h
+++ b/include/configs/tegra-common-usb-gadget.h
@@ -34,6 +34,9 @@
#ifdef CONFIG_SPI_FLASH
#define CONFIG_DFU_SF
#endif
+#ifdef CONFIG_CMD_NAND
+#define CONFIG_DFU_NAND
+#endif
#endif

#endif /* _TEGRA_COMMON_USB_GADGET_H_ */
--
2.3.0