diff options
author | Tom Rini <trini@konsulko.com> | 2020-01-20 12:23:33 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-20 12:23:33 -0500 |
commit | c7819d409ab7671991bf906482b7adcc21266f75 (patch) | |
tree | eab7a9eba205f31dd1f4b606ec58d64ec5e933f1 /include/flash.h | |
parent | c8a1198665b81113535e89c791a7991abe481d62 (diff) | |
parent | addc376318d765902027021d88f693e95d1e1bcd (diff) |
Merge branch '2020-01-17-reduce-size-of-common-h-even-more'
- Bring in Simon Glass's series that reduces what we have in <common.h>
even more.
Diffstat (limited to 'include/flash.h')
-rw-r--r-- | include/flash.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/flash.h b/include/flash.h index 807800b524..2655c72087 100644 --- 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 +/** + * 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(): */ |