]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: mx6sllevk: add usb support
authorPeng Fan <peng.fan@nxp.com>
Thu, 22 Dec 2016 09:06:44 +0000 (17:06 +0800)
committerMarek Vasut <marek.vasut@gmail.com>
Tue, 17 Jan 2017 09:26:33 +0000 (10:26 +0100)
Add usb support for mx6sllevk board.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
configs/mx6sllevk_defconfig
configs/mx6sllevk_plugin_defconfig
include/configs/mx6sllevk.h

index 8ae049e208ed3369f48fa90c9fc3ca34d60f8f2a..267cdc615666fc8f3f644a940ea6a38d42677fb3 100644 (file)
@@ -10,6 +10,7 @@ CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
@@ -34,3 +35,7 @@ CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_PFUZE100=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_STORAGE=y
index e6be9795078dd99c7c97d69850e0ceed8f1b5d03..63d5bbc1c652dc225c0e1e9b300c5061853eafea 100644 (file)
@@ -11,6 +11,7 @@ CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
@@ -35,3 +36,7 @@ CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_PFUZE100=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_STORAGE=y
index b9f25cf0fcc423d3f3d0b8ab612f4911810e2abc..be4d147546daa56d2212be280f7730ba7da4bf6d 100644 (file)
 
 #define CONFIG_IOMUX_LPSR
 
+/* USB Configs */
+#ifdef CONFIG_CMD_USB
+#define CONFIG_USB_HOST_ETHER
+#define CONFIG_USB_ETHER_ASIX
+#define CONFIG_USB_ETHER_RTL8152
+#define CONFIG_MXC_USB_PORTSC          (PORT_PTS_UTMI | PORT_PTS_PTW)
+#endif
+
 #endif                         /* __CONFIG_H */