]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/bootstage.h
bootstage: Store boot timings in device tree
[karo-tx-uboot.git] / include / bootstage.h
index 127c94f1b25e25e51325c16f4ecf38ec190729a4..9113852ca26f57a10a7595d4b58cf2a5af123447 100644 (file)
@@ -277,6 +277,13 @@ uint32_t bootstage_accum(enum bootstage_id id);
 /* Print a report about boot time */
 void bootstage_report(void);
 
+/**
+ * Add bootstage information to the device tree
+ *
+ * @return 0 if ok, -ve on error
+ */
+int bootstage_fdt_add_report(void);
+
 #else
 /*
  * This is a dummy implementation which just calls show_boot_progress(),