diff options
author | Wolfgang Denk <wd@denx.de> | 2008-02-15 00:27:11 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-02-15 00:27:11 +0100 |
commit | ae91a8055c933f4528d88cf92314dabdc8b6acf2 (patch) | |
tree | 3a9ae556ce4cca03cdf8b5c8d2c17794e4a33be6 /include/asm-ppc | |
parent | a4d60bb917ed3d9b47ec8e55348e9bce004fa9b4 (diff) | |
parent | 9e04a8138892d64848dc6e8e74213086d9190d9a (diff) |
Merge ../custodians
Diffstat (limited to 'include/asm-ppc')
-rw-r--r-- | include/asm-ppc/fsl_law.h | 1 | ||||
-rw-r--r-- | include/asm-ppc/immap_86xx.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-ppc/fsl_law.h b/include/asm-ppc/fsl_law.h index 7cb8840dde..23bd5057a7 100644 --- a/include/asm-ppc/fsl_law.h +++ b/include/asm-ppc/fsl_law.h @@ -73,6 +73,7 @@ struct law_entry { extern void set_law(u8 idx, phys_addr_t addr, enum law_size sz, enum law_trgt_if id); extern void disable_law(u8 idx); extern void init_laws(void); +extern void print_laws(void); /* define in board code */ extern struct law_entry law_table[]; diff --git a/include/asm-ppc/immap_86xx.h b/include/asm-ppc/immap_86xx.h index 169725b923..a15c6ec12a 100644 --- a/include/asm-ppc/immap_86xx.h +++ b/include/asm-ppc/immap_86xx.h @@ -1330,4 +1330,9 @@ typedef struct immap { extern immap_t *immr; +#define CFG_MPC86xx_DDR_OFFSET (0x2000) +#define CFG_MPC86xx_DDR_ADDR (CFG_IMMR + CFG_MPC86xx_DDR_OFFSET) +#define CFG_MPC86xx_DDR2_OFFSET (0x6000) +#define CFG_MPC86xx_DDR2_ADDR (CFG_IMMR + CFG_MPC86xx_DDR2_OFFSET) + #endif /*__IMMAP_86xx__*/ |