summaryrefslogtreecommitdiffstats
path: root/bootloader.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-01-21 01:34:10 +0100
committerDoug Zongker <dougz@android.com>2010-01-21 21:50:04 +0100
commit687bc12ccfbda26ad134b27d09d1d70a2b8705a6 (patch)
tree83d313c1cb3e9a3a6795faeceb832cfd1f423870 /bootloader.h
parentam 4e9332cb: am 22d79a5c: make offsets in firmware update header not point to bad blocks (diff)
downloadandroid_bootable_recovery-687bc12ccfbda26ad134b27d09d1d70a2b8705a6.tar
android_bootable_recovery-687bc12ccfbda26ad134b27d09d1d70a2b8705a6.tar.gz
android_bootable_recovery-687bc12ccfbda26ad134b27d09d1d70a2b8705a6.tar.bz2
android_bootable_recovery-687bc12ccfbda26ad134b27d09d1d70a2b8705a6.tar.lz
android_bootable_recovery-687bc12ccfbda26ad134b27d09d1d70a2b8705a6.tar.xz
android_bootable_recovery-687bc12ccfbda26ad134b27d09d1d70a2b8705a6.tar.zst
android_bootable_recovery-687bc12ccfbda26ad134b27d09d1d70a2b8705a6.zip
Diffstat (limited to '')
-rw-r--r--bootloader.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/bootloader.h b/bootloader.h
index 3d4302f1e..fec6409ff 100644
--- a/bootloader.h
+++ b/bootloader.h
@@ -54,6 +54,13 @@ int set_bootloader_message(const struct bootloader_message *in);
int write_update_for_bootloader(
const char *update, int update_len,
int bitmap_width, int bitmap_height, int bitmap_bpp,
- const char *busy_bitmap, const char *error_bitmap);
+ const char *busy_bitmap, const char *error_bitmap,
+ const char *log_filename);
+
+/* Look for a log stored in the cache partition in the block after the
+ * firmware update header. If we can read such a log, copy it to
+ * stdout (ie, the current log).
+ */
+void recover_firmware_update_log();
#endif