mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
common: Move flash_perror() to flash.h
This function belongs more in flash.h than common.h so move it. Also remove the space before the bracket in some calls. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -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():
|
||||
*/
|
||||
|
Reference in New Issue
Block a user