powerpc/b4860: Correct LIODN assignment for SRIO
For B4, the SRIO LIODN registers are in SRIO address space and not in GUTs. Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
This commit is contained in:
parent
b383102040
commit
32f38ee3ed
|
@ -41,8 +41,8 @@ struct qportal_info qp_info[CONFIG_SYS_QMAN_NUM_PORTALS] = {
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_SRIO
|
#ifdef CONFIG_SYS_SRIO
|
||||||
struct srio_liodn_id_table srio_liodn_tbl[] = {
|
struct srio_liodn_id_table srio_liodn_tbl[] = {
|
||||||
SET_SRIO_LIODN_1(1, 307),
|
SET_SRIO_LIODN_BASE(1, 307),
|
||||||
SET_SRIO_LIODN_1(2, 387),
|
SET_SRIO_LIODN_BASE(2, 387),
|
||||||
};
|
};
|
||||||
int srio_liodn_tbl_sz = ARRAY_SIZE(srio_liodn_tbl);
|
int srio_liodn_tbl_sz = ARRAY_SIZE(srio_liodn_tbl);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -576,6 +576,7 @@
|
||||||
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
|
||||||
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
||||||
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
||||||
|
#define CONFIG_SYS_FSL_SRIO_LIODN
|
||||||
#else
|
#else
|
||||||
#define CONFIG_MAX_CPUS 2
|
#define CONFIG_MAX_CPUS 2
|
||||||
#define CONFIG_SYS_FSL_CORES_PER_CLUSTER 2
|
#define CONFIG_SYS_FSL_CORES_PER_CLUSTER 2
|
||||||
|
|
Loading…
Reference in New Issue