From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Tue, 23 May 2006 16:47:42 -0400 Subject: [U-Boot-Users] sypcr double written In-Reply-To: <200605232240.05529.antonio.dibacco@aruba.it> References: <20060523203148.18C82353BE1@atlas.denx.de> <200605232240.05529.antonio.dibacco@aruba.it> Message-ID: <447374EE.5050301@smiths-aerospace.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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@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.