From: =?gb2312?q?Sam=20Song?= Date: Sat, 21 Aug 2004 18:14:52 +0800 (CST) Subject: [U-Boot-Users] [Patch]A fix in cfi_flash.c In-Reply-To: Message-ID: <20040821101452.84857.qmail@web15610.mail.cnb.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 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/