From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Mesenbrink Date: Thu, 12 Dec 2002 10:28:11 -0600 Subject: [U-Boot-Users] Setting SIUMCR FYI Message-ID: <3DF8B91B.2080400@vss.fsi.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de We are using u-boot for our custom board based on the MPC8260. For this board the chip select 10 pin is configured as BCTL1. u-boot would hang after SIUMCR was set in cpu_init_f() in the file cpu/mpc8260/cpu_init.c. The problem is that out of reset OR0[BCTLD] defaults to 0 ("BCTLx is asserted upon access to the current memory bank" 10-18). My next access to FLASH hung the system. I moved the assignment of SIUMCR after the memory controller ORx/BRx registers are setup, where ORx[BCTLD] is set they way we need, and u-boot ran fine. As the title suggests this is a FYI. I hope it is helpful. -- Jim Mesenbrink FlightSafety International mesenb at vss.fsi.com Visual Simulation Systems Phone: 314-551-8422 5695 Campus Parkway FAX: 314-551-8444 St. Louis, MO 63042-2338