Message ID | 1314975550-15766-2-git-send-email-valentin.longchamp@keymile.com |
---|---|
State | Accepted |
Commit | ea3681a6e4f8367354092ff55b74441007319aad |
Headers | show |
Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike
diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h index ef9959e..4ab17ae 100644 --- a/arch/arm/include/asm/global_data.h +++ b/arch/arm/include/asm/global_data.h @@ -75,6 +75,10 @@ typedef struct global_data { #endif void **jt; /* jump table */ char env_buf[32]; /* buffer for getenv() before reloc. */ +#if defined(CONFIG_POST) || defined(CONFIG_LOGBUFFER) + unsigned long post_log_word; /* Record POST activities */ + unsigned long post_init_f_time; /* When post_init_f started */ +#endif } gd_t; /* diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index 41ef492..f929acd 100644 --- a/arch/arm/lib/board.c +++ b/arch/arm/lib/board.c @@ -49,6 +49,8 @@ #include <nand.h> #include <onenand_uboot.h> #include <mmc.h> +#include <post.h> +#include <logbuff.h> #ifdef CONFIG_BITBANGMII #include <miiphy.h>