summaryrefslogtreecommitdiff
path: root/include/bootstage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bootstage.h')
-rw-r--r--include/bootstage.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/bootstage.h b/include/bootstage.h
index 41bd61785c..8607e887d8 100644
--- a/include/bootstage.h
+++ b/include/bootstage.h
@@ -332,6 +332,13 @@ int bootstage_stash(void *base, int size);
int bootstage_unstash(void *base, int size);
/**
+ * bootstage_get_size() - Get the size of the bootstage data
+ *
+ * @return size of boostage data in bytes
+ */
+int bootstage_get_size(void);
+
+/**
* bootstage_init() - Prepare bootstage for use
*
* @first: true if this is the first time bootstage is set up. This causes it
@@ -400,6 +407,11 @@ static inline int bootstage_unstash(void *base, int size)
return 0; /* Pretend to succeed */
}
+static inline int bootstage_get_size(void)
+{
+ return 0;
+}
+
static inline int bootstage_init(bool first)
{
return 0;