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

Hi all,
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.
Bye, Antonio.

In message F1F6EC0C8B75034F9E3A79FC85122E8E6238E1@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
participants (2)
-
DI BACCO ANTONIO - technolabs
-
Wolfgang Denk