[U-Boot] [PATCH 4/4] powerpc/mpc8536ds: Add USB support for MPC8536DS

York Sun yorksun at freescale.com
Mon Oct 3 21:18:42 CEST 2011


From: Fanzc <B32736 at freescale.com>

Add EHCI controller and USB command definition.

Signed-off-by: Xie Xiaobo <r63061 at freescale.com>
---
 include/configs/MPC8536DS.h |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h
index e892cc1..a98fd19 100644
--- a/include/configs/MPC8536DS.h
+++ b/include/configs/MPC8536DS.h
@@ -699,6 +699,21 @@
 #define CONFIG_SYS_FSL_ESDHC_ADDR	CONFIG_SYS_MPC85xx_ESDHC_ADDR
 #define CONFIG_CMD_MMC
 #define CONFIG_GENERIC_MMC
+#endif
+
+/*
+ * USB
+ */
+#define CONFIG_USB_EHCI
+
+#ifdef CONFIG_USB_EHCI
+#define CONFIG_CMD_USB
+#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
+#define CONFIG_USB_EHCI_FSL
+#define CONFIG_USB_STORAGE
+#endif
+
+#if defined(CONFIG_MMC) || defined(CONFIG_USB_EHCI)
 #define CONFIG_CMD_EXT2
 #define CONFIG_CMD_FAT
 #define CONFIG_DOS_PARTITION
-- 
1.7.0.4




More information about the U-Boot mailing list