[U-Boot-Users] cfi_flash.c patch
richard at uclinux.net
richard at uclinux.net
Sat Apr 9 15:41:31 CEST 2005
Afternoon...
Adding 2 spaces in cfi_flash.c makes the output of "flinfo" much
more readable if there are protected and unprotected sectors:
rick
----------------------------------------------------------------------------
CHANGELOG:
* Patch by Richard Klingler, 09 Apr 2005:
correct column layout of flinfo output.
--- u-boot.orig/drivers/cfi_flash.c 2005-01-09 19:12:33.000000000 +0200
+++ u-boot/drivers/cfi_flash.c 2005-04-09 16:35:04.000000000 +0300
@@ -483,7 +483,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');
More information about the U-Boot
mailing list