diff options
author | Minghuan Lian <Minghuan.Lian@freescale.com> | 2013-07-03 18:32:41 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2013-08-09 12:41:41 -0700 |
commit | 0795eff34c5744dcc59ead6edbbcd2cd600f58fe (patch) | |
tree | 8bc79d5dd0c1617738d1939c11424d9ac299b1e4 /include/configs | |
parent | cb033741f425c8290fdcfbe6da4ae69b504c52fa (diff) |
powerpc/rman: fix RMan support for t4240 and b4860
1. Add CONFIG_SYS_DPAA_RMAN macro to t4240 and b4860.
2. Decrease RMan liodn offset number.
SET_RMAN_LIODN() is used to set liodn offset of RMan blocks 0-3.
For t4240 and b4860, RMan liodn base is assigned to 922, the original
offset number is too large that the liodn (base+offset 922+678 = 1600)
is greater than 0x500 the maximum liodn number.
Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/B4860QDS.h | 2 | ||||
-rw-r--r-- | include/configs/T4240EMU.h | 1 | ||||
-rw-r--r-- | include/configs/T4240QDS.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h index 7bc3428f4a..2f0bc6b062 100644 --- a/include/configs/B4860QDS.h +++ b/include/configs/B4860QDS.h @@ -584,6 +584,8 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_SYS_DPAA_FMAN +#define CONFIG_SYS_DPAA_RMAN + /* Default address of microcode for the Linux Fman driver */ #if defined(CONFIG_SPIFLASH) /* diff --git a/include/configs/T4240EMU.h b/include/configs/T4240EMU.h index 537ff81250..033992db9b 100644 --- a/include/configs/T4240EMU.h +++ b/include/configs/T4240EMU.h @@ -112,6 +112,7 @@ #define CONFIG_SYS_DPAA_PME #define CONFIG_SYS_PMAN #define CONFIG_SYS_DPAA_DCE +#define CONFIG_SYS_DPAA_RMAN #define CONFIG_SYS_INTERLAKEN #define CONFIG_SYS_QE_FMAN_FW_IN_NOR diff --git a/include/configs/T4240QDS.h b/include/configs/T4240QDS.h index d92de3596c..92a30ab09f 100644 --- a/include/configs/T4240QDS.h +++ b/include/configs/T4240QDS.h @@ -360,6 +360,7 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_SYS_DPAA_PME #define CONFIG_SYS_PMAN #define CONFIG_SYS_DPAA_DCE +#define CONFIG_SYS_DPAA_RMAN #define CONFIG_SYS_INTERLAKEN /* Default address of microcode for the Linux Fman driver */ |