summaryrefslogtreecommitdiff
path: root/include/configs/corenet_ds.h
diff options
context:
space:
mode:
authorRamneek Mehresh <ramneek.mehresh@freescale.com>2011-06-07 10:10:43 +0000
committerKumar Gala <galak@kernel.crashing.org>2011-07-11 13:24:21 -0500
commit68d4230c3ccce96a72c5b99e48399bf1796fe3c6 (patch)
tree46c8e9f1103c3bbb7b1678daef3aa8bb5a2cc636 /include/configs/corenet_ds.h
parent80e5c83a7e9d93a17ec14e4bbbbd1bc23e46b720 (diff)
downloadu-boot-imx-68d4230c3ccce96a72c5b99e48399bf1796fe3c6.zip
u-boot-imx-68d4230c3ccce96a72c5b99e48399bf1796fe3c6.tar.gz
u-boot-imx-68d4230c3ccce96a72c5b99e48399bf1796fe3c6.tar.bz2
powerpc/85xx: Add default usb mode and phy type to hwconfig
Move to use hwconfig for usb mode & phy type instead of magic 'usb_phy_type' environment variable on the following platforms: MPC8536DS, P1020RDB, P1020RDB-PC, P1010RDB, P2020RDB, P2020RDB-PC, P2020RDB, P3041DS, P4080DS, & P5020DS. Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/configs/corenet_ds.h')
-rw-r--r--include/configs/corenet_ds.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index 52ef06e..c9cc22a 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -639,9 +639,16 @@
#define CONFIG_BAUDRATE 115200
+#if defined(CONFIG_P4080DS)
+#define __USB_PHY_TYPE ulpi
+#else
+#define __USB_PHY_TYPE utmi
+#endif
+
#define CONFIG_EXTRA_ENV_SETTINGS \
"hwconfig=fsl_ddr:ctlr_intlv=cacheline," \
- "bank_intlv=cs0_cs1\0" \
+ "bank_intlv=cs0_cs1;" \
+ "usb1:dr_mode=host,phy_type=" MK_STR(__USB_PHY_TYPE) "\0"\
"netdev=eth0\0" \
"uboot=" MK_STR(CONFIG_UBOOTPATH) "\0" \
"ubootaddr=" MK_STR(CONFIG_SYS_TEXT_BASE) "\0" \