Skip to contentSkip to conversation

Setting SIUMCR FYI

U-Boot-Users Jim Mesenbrink 1 participant 1 message Dec 12, 2002

lore
Share & tools
lore
#0 lore raw

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.

Signature · 4 lines
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