From: York Sun Date: Tue, 28 Sep 2010 22:20:35 +0000 (-0700) Subject: Setup POST word for generic mpc85xx X-Git-Tag: v2010.12-rc1~62 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8790ac039983212b1691529780216e8411143b21;p=u-boot Setup POST word for generic mpc85xx Using PIC TFRR register for post word load/store for generic MPC85xx. Signed-off-by: York Sun Signed-off-by: Kumar Gala --- diff --git a/include/post.h b/include/post.h index 625da5593f..daa9047118 100644 --- a/include/post.h +++ b/include/post.h @@ -57,8 +57,8 @@ #define _POST_WORD_ADDR (CONFIG_SYS_IMMR + CPM_POST_WORD_ADDR) #elif defined (CONFIG_MPC85xx) -#include -#define _POST_WORD_ADDR (CONFIG_SYS_IMMR + CPM_POST_WORD_ADDR) +#include +#define _POST_WORD_ADDR (CONFIG_SYS_IMMR + offsetof(ccsr_pic_t, tfrr)) #elif defined (CONFIG_4xx) #define _POST_WORD_ADDR \