[U-Boot-Users] write_via_fpu() doesn't work?
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
> 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.
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
More information about the U-Boot