]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/bootstage.h
bootstage: Add stubs for new bootstage functions
[karo-tx-uboot.git] / include / bootstage.h
index 3b2216b8a8c8316df3dec35153947087623a905c..bdda76849fb63441c264b9474ca8d71084561a13 100644 (file)
@@ -315,6 +315,12 @@ int bootstage_stash(void *base, int size);
 int bootstage_unstash(void *base, int size);
 
 #else
+static inline ulong bootstage_add_record(enum bootstage_id id,
+               const char *name, int flags, ulong mark)
+{
+       return 0;
+}
+
 /*
  * This is a dummy implementation which just calls show_boot_progress(),
  * and won't even do that unless CONFIG_SHOW_BOOT_PROGRESS is defined
@@ -337,6 +343,16 @@ static inline ulong bootstage_mark_name(enum bootstage_id id, const char *name)
        return 0;
 }
 
+static inline uint32_t bootstage_start(enum bootstage_id id, const char *name)
+{
+       return 0;
+}
+
+static inline uint32_t bootstage_accum(enum bootstage_id id)
+{
+       return 0;
+}
+
 static inline int bootstage_stash(void *base, int size)
 {
        return 0;       /* Pretend to succeed */