[U-Boot] [PATCH v2 11/13] mpc86xx: Add generic POST word read/write support
Peter Tyser
ptyser at xes-inc.com
Fri Oct 22 07:20:32 CEST 2010
The PIC's TFRR register doesn't affect hardware and is generally unused,
so use as storage for the POST word.
Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
CC: Kumar Gala <galak at kernel.crashing.org>
---
include/post.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/post.h b/include/post.h
index daa9047..abe47da 100644
--- a/include/post.h
+++ b/include/post.h
@@ -60,6 +60,10 @@
#include <asm/immap_85xx.h>
#define _POST_WORD_ADDR (CONFIG_SYS_IMMR + offsetof(ccsr_pic_t, tfrr))
+#elif defined (CONFIG_MPC86xx)
+#include <asm/immap_86xx.h>
+#define _POST_WORD_ADDR (CONFIG_SYS_IMMR + offsetof(ccsr_pic_t, tfrr))
+
#elif defined (CONFIG_4xx)
#define _POST_WORD_ADDR \
(CONFIG_SYS_OCM_DATA_ADDR + CONFIG_SYS_GBL_DATA_OFFSET - 0x4)
--
1.7.0.4
More information about the U-Boot
mailing list