mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
committed by
Stefan Roese
parent
ebc9784ce6
commit
6ea808efdf
@@ -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);
|
||||
|
Reference in New Issue
Block a user