Skip to contentSkip to conversation

Obvious miss-typed in cfi_flash.c

PATCH New HoJin 2 participants 2 messages Sep 17, 2004 – Oct 10, 2004

lore
Share & tools
lore

HoJin

author
#0 lore raw

PATCH 1/1 Obvious miss-typed in cfi_flash.c

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

cfi_flash.c 17 Sep 2004 08:44:03 -0000 renamed from cfi_flash.c 12 Jul 2004 22:34:52 -0000 1.10 +1 -1
diff -u -b -B -w -p -r1.10 cfi_flash.c
@@ -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;
#1 lore raw

PATCH 1/1 Obvious miss-typed in cfi_flash.c

Quoted 3 lines · In message <[email protected]> you wrote:

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

Added, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
In the beginning, there was nothing, which exploded.
                                - Terry Pratchett, _Lords and Ladies_