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

Alban Bedel alban.bedel at avionic-design.de
Tue Feb 24 17:44:53 CET 2015


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

Signed-off-by: Alban Bedel <alban.bedel at 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



More information about the U-Boot mailing list