[U-Boot] [PATCH] MPC8377EWLAN: Fix DDR configuration bug
Lu Chen-B21101
Chen.Lu at freescale.com
Tue Jul 14 04:12:14 CEST 2009
Changelog for this patch:
This patch is used to fix the bug that u-boot and kernel can not
smoothly work because of insufficient DDR2 chip output strength.
The setting of DDR2 output strength is changed from "reduced" to "full"
status.
diff -Nur a/include/configs/MPC8377EWLAN.h
b/include/configs/MPC8377EWLAN.h
--- a/include/configs/MPC8377EWLAN.h 2009-07-08 22:54:50.000000000
-0700
+++ b/include/configs/MPC8377EWLAN.h 2009-07-12 21:50:27.000000000
-0700
@@ -299,18 +299,16 @@
| SDRAM_CFG_DBW_32)
#else
#define CFG_DDR_SDRAM_CFG (SDRAM_CFG_SREN \
- | 3 << SDRAM_CFG_SDRAM_TYPE_SHIFT \
- | SDRAM_CFG_HSE)
- /* 0x43000000 */
+ | 3 << SDRAM_CFG_SDRAM_TYPE_SHIFT)
#endif
#define CFG_DDR_SDRAM_CFG2 0x00001000 /* 1 posted refresh */
#ifdef CONFIG_CORE_667MHZ
-#define CFG_DDR_MODE ((0x0406 << SDRAM_MODE_ESD_SHIFT) \
+#define CFG_DDR_MODE ((0x0404 << SDRAM_MODE_ESD_SHIFT) \
| (0x0442 << SDRAM_MODE_SD_SHIFT))
/* 0x44440232 */
#else
-#define CFG_DDR_MODE ((0x0406 << SDRAM_MODE_ESD_SHIFT) \
+#define CFG_DDR_MODE ((0x0404 << SDRAM_MODE_ESD_SHIFT) \
| (0x0232 << SDRAM_MODE_SD_SHIFT))
#endif
#define CFG_DDR_MODE2 0x00000000;
Best regards,
Lu Chen
More information about the U-Boot
mailing list