[U-Boot-Users] Setting SIUMCR FYI

Jim Mesenbrink mesenb at vss.fsi.com
Thu Dec 12 17:28:11 CET 2002


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






More information about the U-Boot mailing list