summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaveta Leekha <shaveta@freescale.com>2014-09-04 11:43:57 +0530
committerYork Sun <yorksun@freescale.com>2014-09-24 13:07:08 -0700
commit38e0e15372f9f463ab8dd30d21a46cb477e80dd4 (patch)
tree085a2c31c64e2defb5ae84f5ae85a5ffe89d302e
parente628c8f75de952031f7b9fb9ae465a2a99d4c7f8 (diff)
downloadu-boot-imx-38e0e15372f9f463ab8dd30d21a46cb477e80dd4.zip
u-boot-imx-38e0e15372f9f463ab8dd30d21a46cb477e80dd4.tar.gz
u-boot-imx-38e0e15372f9f463ab8dd30d21a46cb477e80dd4.tar.bz2
powerpc/b4860: Updated default hwconfig to enable only cpc2
CPC1 is not being enabled by default as powerpc is supposed to use only CPC2. Though by editing hwconfig en_cpc option, CPC1 can also be enabled. Signed-off-by: Shaveta Leekha <shaveta@freescale.com> Signed-off-by: Sandeep Singh <Sandeep@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
-rw-r--r--include/configs/B4860QDS.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h
index 953d06b..6deb784 100644
--- a/include/configs/B4860QDS.h
+++ b/include/configs/B4860QDS.h
@@ -819,9 +819,16 @@ unsigned long get_board_ddr_clk(void);
#define __USB_PHY_TYPE ulpi
+#ifdef CONFIG_PPC_B4860
+#define HWCONFIG "hwconfig=fsl_ddr:ctlr_intlv=null," \
+ "bank_intlv=cs0_cs1;" \
+ "en_cpc:cpc2;"
+#else
+#define HWCONFIG "hwconfig=fsl_ddr:ctlr_intlv=null,bank_intlv=cs0_cs1;"
+#endif
+
#define CONFIG_EXTRA_ENV_SETTINGS \
- "hwconfig=fsl_ddr:ctlr_intlv=null," \
- "bank_intlv=cs0_cs1;" \
+ HWCONFIG \
"usb1:dr_mode=host,phy_type=" __stringify(__USB_PHY_TYPE) "\0"\
"netdev=eth0\0" \
"uboot=" __stringify(CONFIG_UBOOTPATH) "\0" \