From: Peter Tyser Date: Fri, 22 Oct 2010 05:20:32 +0000 (-0500) Subject: mpc86xx: Add generic POST word read/write support X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=65f23519d65f56a3a894fcf4d748e5e96ef7166d;p=u-boot.git 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 Signed-off-by: Kumar Gala --- diff --git a/include/post.h b/include/post.h index daa9047118..abe47da53b 100644 --- a/include/post.h +++ b/include/post.h @@ -60,6 +60,10 @@ #include #define _POST_WORD_ADDR (CONFIG_SYS_IMMR + offsetof(ccsr_pic_t, tfrr)) +#elif defined (CONFIG_MPC86xx) +#include +#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)