Skip to content
Snippets Groups Projects
Commit ea3681a6 authored by Valentin Longchamp's avatar Valentin Longchamp Committed by Wolfgang Denk
Browse files

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: default avatarValentin Longchamp <valentin.longchamp@keymile.com>
Signed-off-by: default avatarHolger Brunck <holger.brunck@keymile.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 9558b48a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
/*
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment