summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2010-10-22 00:20:32 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-10-22 03:04:34 -0500
commit65f23519d65f56a3a894fcf4d748e5e96ef7166d (patch)
tree1a12a9c044753aea2cd9517d5dcaed37b5b7b34b /include
parent9d921f19b3f981a499f49a57e2c3ace7be5aeecc (diff)
downloadu-boot-imx-65f23519d65f56a3a894fcf4d748e5e96ef7166d.zip
u-boot-imx-65f23519d65f56a3a894fcf4d748e5e96ef7166d.tar.gz
u-boot-imx-65f23519d65f56a3a894fcf4d748e5e96ef7166d.tar.bz2
mpc86xx: Add generic POST word read/write support
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@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r--include/post.h4
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)