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 /README | |
parent | 0e9967735869a4e2bbc92d5d0eea0e2136180d49 (diff) | |
download | u-boot-imx-94fd1316b75896b668d22ce846785d92c0340100.zip u-boot-imx-94fd1316b75896b668d22ce846785d92c0340100.tar.gz u-boot-imx-94fd1316b75896b668d22ce846785d92c0340100.tar.bz2 |
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 'README')
-rw-r--r-- | README | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -2384,6 +2384,27 @@ The following options need to be configured: 29,916,167 26,005,792 bootm_start 30,361,327 445,160 start_kernel + CONFIG_BOOTSTAGE_FDT + Stash the bootstage information in the FDT. A root 'bootstage' + node is created with each bootstage id as a child. Each child + has a 'name' property and either 'mark' containing the + mark time in microsecond, or 'accum' containing the + accumulated time for that bootstage id in microseconds. + For example: + + bootstage { + 154 { + name = "board_init_f"; + mark = <3575678>; + }; + 170 { + name = "lcd"; + accum = <33482>; + }; + }; + + Code in the Linux kernel can find this in /proc/devicetree. + Legacy uImage format: Arg Where When |