From: wdenk Date: Mon, 12 May 2003 09:51:52 +0000 (+0000) Subject: Fix SDRAM initialization X-Git-Tag: LABEL_2006_03_12_0025~893 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f7de16ae259fd01afe1d342dd0247dc9d3911edd;p=u-boot Fix SDRAM initialization --- diff --git a/include/configs/atc.h b/include/configs/atc.h index aad243da47..0651ede327 100644 --- a/include/configs/atc.h +++ b/include/configs/atc.h @@ -369,15 +369,16 @@ */ #define CFG_OR2_8COL (CFG_MIN_AM_MASK |\ ORxS_BPD_4 |\ - ORxS_ROWST_PBI0_A10 |\ - ORxS_NUMR_11) + ORxS_ROWST_PBI1_A7 |\ + ORxS_NUMR_12) -#define CFG_PSDMR_8COL (PSDMR_SDAM_A13_IS_A5 |\ - PSDMR_BSMA_A16_A18 |\ - PSDMR_SDA10_PBI0_A10 |\ +#define CFG_PSDMR_8COL (PSDMR_PBI |\ + PSDMR_SDAM_A15_IS_A5 |\ + PSDMR_BSMA_A15_A17 |\ + PSDMR_SDA10_PBI1_A7 |\ PSDMR_RFRC_7_CLK |\ - PSDMR_PRETOACT_2W |\ - PSDMR_ACTTORW_1W |\ + PSDMR_PRETOACT_3W |\ + PSDMR_ACTTORW_2W |\ PSDMR_LDOTOPRE_1C |\ PSDMR_WRC_1C |\ PSDMR_CL_2) @@ -386,15 +387,16 @@ */ #define CFG_OR2_9COL (CFG_MIN_AM_MASK |\ ORxS_BPD_4 |\ - ORxS_ROWST_PBI0_A7 |\ - ORxS_NUMR_13) + ORxS_ROWST_PBI1_A6 |\ + ORxS_NUMR_12) -#define CFG_PSDMR_9COL (PSDMR_SDAM_A14_IS_A5 |\ - PSDMR_BSMA_A13_A15 |\ - PSDMR_SDA10_PBI0_A9 |\ +#define CFG_PSDMR_9COL (PSDMR_PBI |\ + PSDMR_SDAM_A16_IS_A5 |\ + PSDMR_BSMA_A15_A17 |\ + PSDMR_SDA10_PBI1_A6 |\ PSDMR_RFRC_7_CLK |\ - PSDMR_PRETOACT_2W |\ - PSDMR_ACTTORW_1W |\ + PSDMR_PRETOACT_3W |\ + PSDMR_ACTTORW_2W |\ PSDMR_LDOTOPRE_1C |\ PSDMR_WRC_1C |\ PSDMR_CL_2)