efi_loader: variable: add VendorKeys variable
[oweals/u-boot.git] / include / flash.h
index 807800b524e9abfafabfb132f7523a9a71cd76e3..2655c72087fbea46cf3cf2a8c7ac7ad67c98044c 100644 (file)
@@ -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():
  */