From ea3681a6e4f8367354092ff55b74441007319aad Mon Sep 17 00:00:00 2001 From: Valentin Longchamp Date: Fri, 2 Sep 2011 04:59:03 +0000 Subject: POST/arm: adaptations needed for POST on ARM to work For post to run on ARM, 3 things are needed: - post_log_word to be defined in gd - a post.h include in arch/arm/lib/board.c Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck Cc: Mike Frysinger Acked-by: Mike Frysinger --- arch/arm/include/asm/global_data.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/include/asm/global_data.h') diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h index b85b7fe808..1264d3028f 100644 --- a/arch/arm/include/asm/global_data.h +++ b/arch/arm/include/asm/global_data.h @@ -78,6 +78,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; /* -- cgit v1.2.1