@@ -52,6 +52,7 @@
#include <fdtdec.h>
#include <post.h>
#include <logbuff.h>
+#include <boottime.h>
#ifdef CONFIG_BITBANGMII
#include <miiphy.h>
@@ -486,6 +487,8 @@ void board_init_r(gd_t *id, ulong dest_addr)
ulong flash_size;
#endif
+ boottime_tag("board_init");
+
gd = id;
gd->flags |= GD_FLG_RELOC; /* tell others: relocation done */
@@ -333,6 +333,7 @@ static void boot_prep_linux(bootm_headers_t *images)
defined(CONFIG_REVISION_TAG) || \
defined (CONFIG_BOOTTIME)
debug("using: ATAGS\n");
+ boottime_tag("passing_atags");
setup_start_tag(gd->bd);
#ifdef CONFIG_BOOTTIME
setup_boottime_tags();
@@ -402,6 +403,8 @@ static void boot_jump_linux(bootm_headers_t *images)
*/
int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
{
+ boottime_tag("do_bootm_linux");
+
/* No need for those on ARM */
if (flag & BOOTM_STATE_OS_BD_T || flag & BOOTM_STATE_OS_CMDLINE)
return -1;
This will provide a more verbose bootgraph when viewed within debugfs. It will also ensure that we have a tag at the latest possible point in the bootloader, right before we pass the ATAGs though to the kernel. Signed-off-by: Lee Jones <lee.jones@linaro.org> --- arch/arm/lib/board.c | 3 +++ arch/arm/lib/bootm.c | 3 +++ 2 files changed, 6 insertions(+)