From: Shawn Date: Wed, 30 Jun 2004 18:11:34 -0700 (PDT) Subject: [U-Boot-Users] write_via_fpu() doesn't work? In-Reply-To: <20040701002418.23575.qmail@web20706.mail.yahoo.com> Message-ID: <20040701011134.1821.qmail@web20701.mail.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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