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 <valentin.longchamp@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Valentin Longchamp 2011-09-02 04:59:03 +00:00 committed by Wolfgang Denk
parent 9558b48af0
commit ea3681a6e4
2 changed files with 6 additions and 0 deletions

View File

@ -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;
/*

View File

@ -48,6 +48,8 @@
#include <nand.h>
#include <onenand_uboot.h>
#include <mmc.h>
#include <post.h>
#include <logbuff.h>
#ifdef CONFIG_BITBANGMII
#include <miiphy.h>