[U-Boot-Users] [Patch] Obvious miss-typed in cfi_flash.c

HoJin jhfami at yahoo.co.kr
Fri Sep 17 10:55:03 CEST 2004


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;





More information about the U-Boot mailing list