]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Setup POST word for generic mpc85xx
authorYork Sun <yorksun@freescale.com>
Tue, 28 Sep 2010 22:20:35 +0000 (15:20 -0700)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 20 Oct 2010 07:38:07 +0000 (02:38 -0500)
Using PIC TFRR register for post word load/store for generic MPC85xx.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
include/post.h

index 625da5593f71cefc3a227f3fb22a16480bcbdc66..daa9047118e7de85e4ebf329c6439189c4b340b0 100644 (file)
@@ -57,8 +57,8 @@
 #define _POST_WORD_ADDR        (CONFIG_SYS_IMMR + CPM_POST_WORD_ADDR)
 
 #elif defined (CONFIG_MPC85xx)
-#include <asm/cpm_85xx.h>
-#define _POST_WORD_ADDR        (CONFIG_SYS_IMMR + CPM_POST_WORD_ADDR)
+#include <asm/immap_85xx.h>
+#define _POST_WORD_ADDR        (CONFIG_SYS_IMMR + offsetof(ccsr_pic_t, tfrr))
 
 #elif defined (CONFIG_4xx)
 #define _POST_WORD_ADDR \