summaryrefslogtreecommitdiffstats
path: root/firmware.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-06-01 23:35:16 +0200
committerThe Android Open Source Project <initial-contribution@android.com>2009-06-01 23:35:16 +0200
commit9d5be8488f7fc757604e654f86e2c41f54790132 (patch)
tree52685fc37135c50e0abf2518c8028f1f2d081919 /firmware.h
parentam 1c4ceae: undo temporary alignment hack (diff)
parentdon't say "install complete" when it really isn't (diff)
downloadandroid_bootable_recovery-9d5be8488f7fc757604e654f86e2c41f54790132.tar
android_bootable_recovery-9d5be8488f7fc757604e654f86e2c41f54790132.tar.gz
android_bootable_recovery-9d5be8488f7fc757604e654f86e2c41f54790132.tar.bz2
android_bootable_recovery-9d5be8488f7fc757604e654f86e2c41f54790132.tar.lz
android_bootable_recovery-9d5be8488f7fc757604e654f86e2c41f54790132.tar.xz
android_bootable_recovery-9d5be8488f7fc757604e654f86e2c41f54790132.tar.zst
android_bootable_recovery-9d5be8488f7fc757604e654f86e2c41f54790132.zip
Diffstat (limited to 'firmware.h')
-rw-r--r--firmware.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware.h b/firmware.h
index f3f7aab79..aeb8f97aa 100644
--- a/firmware.h
+++ b/firmware.h
@@ -23,6 +23,9 @@
*/
int remember_firmware_update(const char *type, const char *data, int length);
+/* Returns true if a firmware update has been saved. */
+int firmware_update_pending();
+
/* If an update was saved, reboot into the bootloader now to install it.
* Returns 0 if no radio image was defined, nonzero on error,
* doesn't return at all on success...