projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
962ad59
)
cfi_flash: flinfo: allow user interrupt in flash print info fn
author
Kim Phillips
<kim.phillips@freescale.com>
Mon, 26 Jul 2010 23:35:39 +0000
(18:35 -0500)
committer
Stefan Roese
<sr@denx.de>
Wed, 18 Aug 2010 07:09:00 +0000
(09:09 +0200)
flashes getting larger, users more impatient.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/cfi_flash.c
b/drivers/mtd/cfi_flash.c
index 2d09caf73877998fc194bb6934adaa5de57a665b..1c736868afff2a6341d4aee554815f908525c849 100644
(file)
--- 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