From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Jonas Date: Tue, 13 Apr 2004 12:03:40 +0200 Subject: [U-Boot-Users] [PATCH] IceCube fixed and cleaned up SDRAM init Message-ID: <407BBAFC.8080402@motorola.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, the attached patch fixes a problem with the SDRAM init code for IceCube (Lite5xxx) I experienced when using LOWBOOT images. In my case U-Boot would always die when doing the first access to SDRAM after initialization which is usually done when trying to find out how big the SDRAM is. I found that no sync instructions where used the synchronize the program flow during SDRAM initialization. This is fixed now. Additionally, I cleaned up the code and moved all the SDRAM chip specific constants into separate include files. The SDRAM initilization itself should be better readable now, too, by merging the DDR / SDR and the MGT5100 / MPC5200 code as cleanly as possible. The code was tested on a Lite5200 (16 MB Flash, LOWBOOT), a Lite5200DDR (16 MB Flash, LOWBOOT) and a Lite5100 (8MB Flash). Regards Mark Jonas -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: icecube_sdram.log Url: http://lists.denx.de/pipermail/u-boot/attachments/20040413/018105ff/attachment.txt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: icecube_sdram.stat Url: http://lists.denx.de/pipermail/u-boot/attachments/20040413/018105ff/attachment-0001.txt -------------- next part -------------- A non-text attachment was scrubbed... Name: icecube_sdram.patch.gz Type: application/gzip Size: 2809 bytes Desc: not available Url : http://lists.denx.de/pipermail/u-boot/attachments/20040413/018105ff/attachment.bin