summaryrefslogtreecommitdiffstats
path: root/include/fastboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fastboot.h')
-rw-r--r--include/fastboot.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/fastboot.h b/include/fastboot.h
index cf8a177bf1..cd415847e3 100644
--- a/include/fastboot.h
+++ b/include/fastboot.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef __FASTBOOT__
#define __FASTBOOT__
@@ -58,6 +60,7 @@ enum fastboot_msg_type {
#ifdef CONFIG_FASTBOOT_BASE
bool get_fastboot_bbu(void);
+void set_fastboot_bbu(unsigned int enable);
struct file_list *get_fastboot_partitions(void);
#else
static inline int get_fastboot_bbu(void)
@@ -65,6 +68,10 @@ static inline int get_fastboot_bbu(void)
return false;
}
+static inline void set_fastboot_bbu(unsigned int enable)
+{
+}
+
static inline struct file_list *get_fastboot_partitions(void)
{
return file_list_parse("");