From: Holger Speck Date: Tue, 22 Jul 2003 10:46:01 +0200 Subject: [U-Boot-Users] MPC8260/66: SDRAM init Message-ID: <001901c3502d$b23d7b70$b910340a@datus.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, I had some problems with the initialisation of SDRAM (64MB) on 60x bus. Below the code I changed according to MPC8260 UM/D: memctl->memc_psdmr = psdmr | 0x18000000; /* Mode Register write */ /* see 11.4.9 SDRAM MODE-SET Command Timming MPC8260 UM/D 05/2003, REV 1 */ /* send mode (CAS latency as in PSDMR and burst length for 16- or 64-bit ports) to SDRAM */ ramaddr = (uchar *) (CFG_SDRAM_BASE | (((cas_latency << 4) | 0x2) << 3)); *ramaddr = c; The original code does not set "ramaddr" to the mode value. I tested this new code on special board derived from the MPC8260ADS. I'm a litte bit astonished that the original code works on the MPC8260ADS. Grettings, Holger