[U-Boot] [PATCH] powerpc/b4860: Updated default hwconfig so as to enable only CPC2
Shaveta Leekha
shaveta at freescale.com
Wed Jul 2 08:13:35 CEST 2014
CPC1 is not being enabled by default as powerpc is supposed to
use only CPC2.
Signed-off-by: Shaveta Leekha <shaveta at freescale.com>
Signed-off-by: Sandeep Singh <Sandeep at freescale.com>
---
include/configs/B4860QDS.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h
index 1af9ba6..53fdac7 100644
--- a/include/configs/B4860QDS.h
+++ b/include/configs/B4860QDS.h
@@ -820,8 +820,14 @@ unsigned long get_board_ddr_clk(void);
#define __USB_PHY_TYPE ulpi
+#ifdef CONFIG_PPC_B4860
+#define HWCONFIG "hwconfig=fsl_ddr:ctlr_intlv=null,en_cpc:cpc2,"
+#else
+#define HWCONFIG "hwconfig=fsl_ddr:ctlr_intlv=null,"
+#endif
+
#define CONFIG_EXTRA_ENV_SETTINGS \
- "hwconfig=fsl_ddr:ctlr_intlv=null," \
+ HWCONFIG \
"bank_intlv=cs0_cs1;" \
"usb1:dr_mode=host,phy_type=" __stringify(__USB_PHY_TYPE) "\0"\
"netdev=eth0\0" \
--
1.7.6.GIT
More information about the U-Boot
mailing list