summaryrefslogtreecommitdiffstats
path: root/bootloader/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/common.h')
-rw-r--r--bootloader/common.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/bootloader/common.h b/bootloader/common.h
index 7d5425c9c8..d09ff1a5ab 100644
--- a/bootloader/common.h
+++ b/bootloader/common.h
@@ -21,16 +21,6 @@
#include <stdbool.h>
-/* Error codes */
-#define EOK 0
-#define EFILE_NOT_FOUND -1
-#define EREAD_CHKSUM_FAILED -2
-#define EREAD_MODEL_FAILED -3
-#define EREAD_IMAGE_FAILED -4
-#define EBAD_CHKSUM -5
-#define EFILE_TOO_BIG -6
-#define EINVALID_FORMAT -7
-
/* Set this to true to enable lcd_update() in the printf function */
extern bool verbose;
@@ -42,9 +32,7 @@ extern bool verbose;
/* Functions common to all bootloaders */
void reset_screen(void);
int printf(const char *format, ...);
-char *strerror(int error);
void error(int errortype, int error, bool shutdown);
-int load_firmware(unsigned char* buf, char* firmware, int buffer_size);
int load_raw_firmware(unsigned char* buf, char* firmware, int buffer_size);
#ifdef ROCKBOX_HAS_LOGF
void display_logf(void);