1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

bootstage: Store boot timings in device tree

Add an option, CONFIG_BOOTSTAGE_FDT to pass boot timings to the kernel
in the device tree, if available. To use this, you must have
CONFIG_OF_LIBFDT defined.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2012-09-28 08:56:37 +00:00
committed by Anatolij Gustschin
parent 0e99677358
commit 94fd1316b7
4 changed files with 120 additions and 6 deletions

View 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(),