[U-Boot-Users] Reset of br0 in cpu_init.c for MPC850 causes BDI exception

Wolfgang Denk wd at denx.de
Wed Feb 7 18:11:47 CET 2007


In message <F1F6EC0C8B75034F9E3A79FC85122E8E6238E1 at aquib01a> you wrote:
> 
> I found a little problem in cpu/mpc8xx/cpu_init.c in u-boot-1.2.0. There
> are some instructions to reset br0 for MPC850 near line 120. This code
> is executed for all cpu. In my opinion should be limited to MPC850 cpu
> because, after a few lines when br0 is configured with CFG_BR0_PRELIM,
> debuggers (like BDI) receive a machine check exception. It seems that
> resetting BR0 and setting it again causes some debugging problems.

I don't think so. Did you read the complete comment (lines 127...145)?

> ------_=_NextPart_001_01C74AAB.DAD2034B
> Content-Type: text/html;

Please don't post HTML.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"How to make a million dollars:  First, get a million dollars."
- Steve Martin




More information about the U-Boot mailing list