[U-Boot-Users] write_via_fpu() doesn't work?

Shawn shawnxtech at yahoo.com
Thu Jul 1 03:11:34 CEST 2004


OK, I found the reason. 

> I'm debugging the flash_init(), which is ported from SL8245. Through
> the
> following three lines of code, it always gets wrong result.
> 	write_via_fpu (&addr[0xaaa8], precmd0);
> 	write_via_fpu (&addr[0x5550], precmd1);
> 	write_via_fpu (&addr[0xaaa8], cmdid);

It should be 0x2aaa because the pointer is long type.

-Shawn.


		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail




More information about the U-Boot mailing list