summaryrefslogtreecommitdiff
path: root/include/configs/mpc5121ads.h
diff options
context:
space:
mode:
authorDamien Dusha <d.dusha@gmail.com>2010-10-14 15:27:06 +0200
committerWolfgang Denk <wd@denx.de>2010-10-18 22:33:32 +0200
commit29c6fbe0471afd7ffa41fcb2103eec5b53294897 (patch)
tree878247521c82262a48d9596113b06545c91ed9ee /include/configs/mpc5121ads.h
parent6f119c558bd28e6eb7dcb8edb0266beeabde100e (diff)
downloadu-boot-imx-29c6fbe0471afd7ffa41fcb2103eec5b53294897.zip
u-boot-imx-29c6fbe0471afd7ffa41fcb2103eec5b53294897.tar.gz
u-boot-imx-29c6fbe0471afd7ffa41fcb2103eec5b53294897.tar.bz2
MPC5121: Add USB EHCI support
Signed-off-by: Francesco Rendine <francesco.rendine@valueteam.com> Signed-off-by: Damien Dusha <d.dusha@gmail.com> Signed-off-by: Anatolij Gustschin <agust@denx.de> Coding style cleanup; slight file restructuring. Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'include/configs/mpc5121ads.h')
-rw-r--r--include/configs/mpc5121ads.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/include/configs/mpc5121ads.h b/include/configs/mpc5121ads.h
index f5c2bd3..19006ac 100644
--- a/include/configs/mpc5121ads.h
+++ b/include/configs/mpc5121ads.h
@@ -377,6 +377,20 @@
#define CONFIG_SYS_I2C_RTC_ADDR 0x68 /* at address 0x68 */
/*
+ * USB Support
+ */
+#define CONFIG_CMD_USB
+
+#if defined(CONFIG_CMD_USB)
+#define CONFIG_USB_EHCI /* Enable EHCI Support */
+#define CONFIG_USB_EHCI_FSL /* On a FSL platform */
+#define CONFIG_EHCI_MMIO_BIG_ENDIAN /* With big-endian regs */
+#define CONFIG_EHCI_DESC_BIG_ENDIAN
+#define CONFIG_EHCI_IS_TDI
+#define CONFIG_USB_STORAGE
+#endif
+
+/*
* Environment
*/
#define CONFIG_ENV_IS_IN_FLASH 1
@@ -444,10 +458,15 @@
"mpc5121.nand:-(data)"
-#if defined(CONFIG_CMD_IDE) || defined(CONFIG_CMD_EXT2)
+#if defined(CONFIG_CMD_IDE) || defined(CONFIG_CMD_EXT2) || defined(CONFIG_CMD_USB)
+
#define CONFIG_DOS_PARTITION
#define CONFIG_MAC_PARTITION
#define CONFIG_ISO_PARTITION
+
+#define CONFIG_CMD_FAT
+#define CONFIG_SUPPORT_VFAT
+
#endif /* defined(CONFIG_CMD_IDE) */
/*