public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [Patch] Obvious miss-typed in cfi_flash.c
@ 2004-09-17  8:55 HoJin
  2004-10-10 23:12 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: HoJin @ 2004-09-17  8:55 UTC (permalink / raw)
  To: u-boot

Hi,

 During the test for 64bit port-width flash, I found a litte
miss-typing. It works well after a little fix.

Regards

Hojin
===================================================================
RCS file: /cvsroot/u-boot/u-boot/drivers/cfi_flash.c,v
retrieving revision 1.10
diff -u -b -B -w -p -r1.10 cfi_flash.c
--- drivers/cfi_flash.c 12 Jul 2004 22:34:52 -0000      1.10
+++ drivers/cfi_flash.c 17 Sep 2004 08:44:03 -0000
@@ -1099,7 +1099,7 @@ static int flash_write_cfiword (flash_in
                flag = ((cptr.lp[0] & cword.l) == cword.l);
                break;
        case FLASH_CFI_64BIT:
-               flag = ((cptr.lp[0] & cword.ll) == cword.ll);
+               flag = ((cptr.llp[0] & cword.ll) == cword.ll);
                break;
        default:
                return 2;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-10 23:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-17  8:55 [U-Boot-Users] [Patch] Obvious miss-typed in cfi_flash.c HoJin
2004-10-10 23:12 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox