mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 20:58:22 +00:00
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>
This commit is contained in:
parent
9d921f19b3
commit
65f23519d6
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,10 @@
|
|||
#include <asm/immap_85xx.h>
|
||||
#define _POST_WORD_ADDR (CONFIG_SYS_IMMR + offsetof(ccsr_pic_t, tfrr))
|
||||
|
||||
#elif defined (CONFIG_MPC86xx)
|
||||
#include <asm/immap_86xx.h>
|
||||
#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)
|
||||
|
|
Loading…
Add table
Reference in a new issue