[U-Boot-Users] MPC8260/66: SDRAM init

22 Jul
2003
22 Jul
'03
10:46 a.m.
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
7964
Age (days ago)
7964
Last active (days ago)
0 comments
1 participants
participants (1)
-
Holger Speck