Commit 65f23519d65f56a3a894fcf4d748e5e96ef7166d
Committed by
Kumar Gala
1 parent
9d921f19b3
Exists in
master
and in
54 other branches
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>
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
include/post.h
... | ... | @@ -60,6 +60,10 @@ |
60 | 60 | #include <asm/immap_85xx.h> |
61 | 61 | #define _POST_WORD_ADDR (CONFIG_SYS_IMMR + offsetof(ccsr_pic_t, tfrr)) |
62 | 62 | |
63 | +#elif defined (CONFIG_MPC86xx) | |
64 | +#include <asm/immap_86xx.h> | |
65 | +#define _POST_WORD_ADDR (CONFIG_SYS_IMMR + offsetof(ccsr_pic_t, tfrr)) | |
66 | + | |
63 | 67 | #elif defined (CONFIG_4xx) |
64 | 68 | #define _POST_WORD_ADDR \ |
65 | 69 | (CONFIG_SYS_OCM_DATA_ADDR + CONFIG_SYS_GBL_DATA_OFFSET - 0x4) |