From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Gortmaker Date: Tue, 7 Feb 2012 23:45:31 -0500 Subject: [U-Boot] MPC8313 DDR2 configuration In-Reply-To: <001d01cce5b8$d5a5ae50$80f10af0$@a2etech.com> References: <001d01cce5b8$d5a5ae50$80f10af0$@a2etech.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Feb 7, 2012 at 11:52 AM, Scott Larson wrote: > Hi, > > Looking for help on DDR2 configuration in u-boot. > > > > I have the MPC8313ERDB from Freescale. It has 128Mbytes of DDR2 ram. The > existing 128MByte that uses only CS0. > > > > I have a new board design to bring up. > > The timing parameters are all ok but I need some guidance on changing the > settings to suit my memory configuration. > > > > My board has 512Mbytes on CS0 and 512Mbytes on CS1. > > Changes need to be made to files MPC8313ERDB.h and sdram.c SODIMM with SPD? Autoconfig with CONFIG_SPD_EEPROM is nice compared to hard coding values, if you can use it. I'm pretty sure it works fine on sbc8349 board. > > > > I have made all the row and column size and block address pin settings ok. I > have set DDR size to 512Mbytes (per Chip Select). > > > > I need some guidance on the setting for CS1 bank of ram. Have you created the CONFIG_SYS_BR1_PRELIM and the CONFIG_SYS_OR1_PRELIM defines in your board header? If you copied these from a reference platform, they may still be populated with settings appropriate for flash up at the top of memory instead of DDR2 settings for your 2nd bank... P. > > > > thanks > > Scott > > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot >