summaryrefslogtreecommitdiffstats
path: root/common/fastboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/fastboot.c')
-rw-r--r--common/fastboot.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/fastboot.c b/common/fastboot.c
index f5a275d8bf..d8dabd89ab 100644
--- a/common/fastboot.c
+++ b/common/fastboot.c
@@ -955,6 +955,11 @@ bool get_fastboot_bbu(void)
return fastboot_bbu;
}
+void set_fastboot_bbu(unsigned int enable)
+{
+ fastboot_bbu = enable;
+}
+
struct file_list *get_fastboot_partitions(void)
{
if (fastboot_partitions && *fastboot_partitions)