[U-Boot] [PATCH] board: wandboard: add usb storage

Jeroen Hofstee jeroen at myspectrum.nl
Thu Oct 23 22:47:17 CEST 2014


Fabio Estevam <fabio.estevam at freescale.com> (maintainer:WANDBOARD BOARD)
Signed-off-by: Jeroen Hofstee <jeroen at myspectrum.nl>

---
version 2: remove the duplicated CONFIG_CMD_FAT
---
 include/configs/wandboard.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
index 37e3429..1a9c4ab 100644
--- a/include/configs/wandboard.h
+++ b/include/configs/wandboard.h
@@ -84,6 +84,15 @@
 #define CONFIG_CMD_FAT
 #define CONFIG_DOS_PARTITION
 
+/* USB Configs */
+#define CONFIG_CMD_USB
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_MX6
+#define CONFIG_USB_STORAGE
+#define CONFIG_USB_MAX_CONTROLLER_COUNT	2
+#define CONFIG_MXC_USB_PORTSC		(PORT_PTS_UTMI | PORT_PTS_PTW)
+#define CONFIG_MXC_USB_FLAGS		0
+
 /* Ethernet Configuration */
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_DHCP
-- 
2.1.0



More information about the U-Boot mailing list