
14 Sep
2005
14 Sep
'05
5:28 p.m.
In message 50e92330050914065119c9ce50@mail.google.com you wrote:
The encoding of BSTOPRE is complex. It is split into 3 subfields, and spread over MCCR2 and MCCR4. The discrepency seems to be due to different assumptions about how the subfields are ordered in the composite value.
The code in cpu/mpc824x/cpu_init.c extracts the pieces as ( BSTOPRE[6-9] || BSTOPRE[2-5] || BSTOPRE[0-1] )
Per Freescale technical support, these three fields are to be assembled as ( BSTOPRE[0-1] || BSTOPRE[2-5] || BSTOPRE[6-9] )
So what yould your proposed patch look like?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"No problem is so formidable that you can't walk away from it."
- C. Schulz