diff options
| author | Simon Glass <sjg@chromium.org> | 2012-09-28 08:56:37 +0000 | 
|---|---|---|
| committer | Anatolij Gustschin <agust@denx.de> | 2012-10-02 22:39:33 +0200 | 
| commit | 94fd1316b75896b668d22ce846785d92c0340100 (patch) | |
| tree | 39d8044fa76e189b0247efc2949895689c92542b /arch/arm/lib/bootm.c | |
| parent | 0e9967735869a4e2bbc92d5d0eea0e2136180d49 (diff) | |
| download | olio-uboot-2014.01-94fd1316b75896b668d22ce846785d92c0340100.tar.xz olio-uboot-2014.01-94fd1316b75896b668d22ce846785d92c0340100.zip | |
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>
Diffstat (limited to 'arch/arm/lib/bootm.c')
| -rw-r--r-- | arch/arm/lib/bootm.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index 599547d2c..8d5bc589f 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -96,6 +96,9 @@ static void announce_and_cleanup(void)  {  	printf("\nStarting kernel ...\n\n");  	bootstage_mark_name(BOOTSTAGE_ID_BOOTM_HANDOFF, "start_kernel"); +#ifdef CONFIG_BOOTSTAGE_FDT +	bootstage_fdt_add_report(); +#endif  #ifdef CONFIG_BOOTSTAGE_REPORT  	bootstage_report();  #endif |