summaryrefslogtreecommitdiff
path: root/include/flash.h
diff options
context:
space:
mode:
authorPiotr Ziecik <kosmo@semihalf.com>2008-11-17 15:49:32 +0100
committerStefan Roese <sr@denx.de>2008-11-24 10:55:36 +0100
commit6ea808efdf9aa5d9067fbfac32acde8539129ed2 (patch)
treea45a87f673cdca45d27a7ca6a4c4bd86f5256ab0 /include/flash.h
parentebc9784ce6528385bb8d2558e783622d4bbf20f8 (diff)
cfi_flash: Add interface for flash verbosity control
Add interface for flash verbosity control. It allows to disable output from low-level flash API. It is useful when calling these low-level functions from context other than flash commands (for example the MTD/CFI interface implmentation). Signed-off-by: Piotr Ziecik <kosmo@semihalf.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/flash.h')
-rw-r--r--include/flash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/flash.h b/include/flash.h
index 8a00c2f8998..05fa57240be 100644
--- a/include/flash.h
+++ b/include/flash.h
@@ -95,6 +95,7 @@ extern int flash_sect_erase (ulong addr_first, ulong addr_last);
extern int flash_sect_protect (int flag, ulong addr_first, ulong addr_last);
extern int flash_sect_roundb (ulong *addr);
extern unsigned long flash_sector_size(flash_info_t *info, flash_sect_t sect);
+extern void flash_set_verbose(uint);
/* common/flash.c */
extern void flash_protect (int flag, ulong from, ulong to, flash_info_t *info);