flashes getting larger, users more impatient.
Signed-off-by: Kim Phillips <[email protected]>
---
drivers/mtd/cfi_flash.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 3267c5d..38d0ca5 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -1159,6 +1159,8 @@ void flash_print_info (flash_info_t * info)
puts ("\n Sector Start Addresses:");
for (i = 0; i < info->sector_count; ++i) {
+ if (ctrlc())
+ return;
if ((i % 5) == 0)
printf ("\n");
#ifdef CONFIG_SYS_FLASH_EMPTY_INFO
--
1.7.1.1
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot