[U-Boot-Users] sypcr double written

Jerry Van Baren gerald.vanbaren at smiths-aerospace.com
Tue May 23 22:47:42 CEST 2006


Antonio Di Bacco wrote:
> wdt_mpc8xx.c is in the kernel, in the drivers/char/wdt_mpc8xx.c
> 
> On Tuesday 23 May 2006 22:31, Wolfgang Denk wrote:
>> In message <200605232124.05181.antonio.dibacco at aruba.it> you wrote:
>>> I saw that in cpu_init_f the sypcr is written and it is also written in
>>> the init of wdt_mpc8xx.o but this should not be possible according to the
>>> MPC885 Reference Manual.
>> It is not possible, but then: what's wdt_mpc8xx.o? This is  not  part
>> of U-Boot.
>>
>>> For sure there is an explanation for this, anyone knows?
>> Um... and if you're talking about any Linux kernel code  -  who  says
>> that  it's been booted by U-Boot, or that the boot loader initialized
>> the SYPCR?
>>
>> Best regards,
>>
>> Wolfgang Denk

Well, strictly speaking it _is_ possible to write the SYPCR more than 
once, it just doesn't do anything because the CPU ignores all but the 
first write.  Whatever wdt_mpc8xx.o writes is ignored in this case.

Best regards,
gvb

P.S. Please don't top post.




More information about the U-Boot mailing list