projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
efi_loader: variable: add VendorKeys variable
[oweals/u-boot.git]
/
include
/
flash.h
diff --git
a/include/flash.h
b/include/flash.h
index 807800b524e9abfafabfb132f7523a9a71cd76e3..2655c72087fbea46cf3cf2a8c7ac7ad67c98044c 100644
(file)
--- a/
include/flash.h
+++ b/
include/flash.h
@@
-117,6
+117,13
@@
extern int jedec_flash_match(flash_info_t *info, ulong base);
#define CFI_CMDSET_AMD_LEGACY 0xFFF0
#endif
#define CFI_CMDSET_AMD_LEGACY 0xFFF0
#endif
+/**
+ * flash_perror() - Print a flash error
+ *
+ * @err: Error number of message to print (ERR_... as below)
+ */
+void flash_perror(int err);
+
/*-----------------------------------------------------------------------
* return codes from flash_write():
*/
/*-----------------------------------------------------------------------
* return codes from flash_write():
*/