[U-Boot] [PATCH] MPC8377EWLAN: Fix DDR configuration bug

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

On Mon, Jul 13, 2009 at 9:12 PM, Lu Chen-B21101Chen.Lu@freescale.com wrote:
Changelog for this patch:
Don't include messages like this in the actual changelog, because then you force the git repository maintainer (Kim, in this case) to edit your patch when applying it.
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.
You forgot a Signed-off-by: line here.
participants (2)
-
Lu Chen-B21101
-
Timur Tabi