[U-Boot-Users] [Patch]A fix in cfi_flash.c

Sam Song samsongshu at yahoo.com.cn
Sat Aug 21 12:14:52 CEST 2004


Hi,

The following patch makes the sector number next to
(RO) in order as usual after protect on
operation.Really a samll fix...

* Patch by Sam Song, 21 August 2004:
  - Make (RO) next number display in order after
protect on

Best regards,

Sam

====================================================

diff -purN
u-boot-2004-08-18-2000-orig/drivers/cfi_flash.c
u-boot-2004-08-18-2000/drivers/cfi_flash.c
--- u-boot-2004-08-18-2000-orig/drivers/cfi_flash.c
Sat Aug 21 17:10:21 2004
+++ u-boot-2004-08-18-2000/drivers/cfi_flash.c	Sat Aug
21 17:17:02 2004
@@ -462,7 +462,7 @@ void flash_print_info
(flash_info_t * in
 		if ((i % 5) == 0)
 			printf ("\n   ");
 		printf (" %08lX%s",
-			info->start[i], info->protect[i] ? " (RO)" : "    
");
+			info->start[i], info->protect[i] ? " (RO)  " : "  
  ");
 #endif
 	}
 	putc ('\n');


_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/




More information about the U-Boot mailing list