diff options
author | York Sun <yorksun@freescale.com> | 2010-09-28 15:20:35 -0700 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-10-20 02:38:07 -0500 |
commit | 8790ac039983212b1691529780216e8411143b21 (patch) | |
tree | 24d22d0d67bd6ba9600d8ab072d8457989f8996f /include/post.h | |
parent | ebbe11dd365b16573e25b1b361287f9539daa33c (diff) | |
download | u-boot-8790ac039983212b1691529780216e8411143b21.tar.gz |
Setup POST word for generic mpc85xx
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>
Diffstat (limited to 'include/post.h')
-rw-r--r-- | include/post.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <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 \ |