]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/b4860: Correct LIODN assignment for SRIO
authorLiu Gang <Gang.Liu@freescale.com>
Tue, 25 Jun 2013 10:12:13 +0000 (18:12 +0800)
committerYork Sun <yorksun@freescale.com>
Fri, 9 Aug 2013 19:41:37 +0000 (12:41 -0700)
For B4, the SRIO LIODN registers are in SRIO address space and not
in GUTs.

Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
arch/powerpc/cpu/mpc85xx/b4860_ids.c
arch/powerpc/include/asm/config_mpc85xx.h

index 53c6a7faf9215f1f216b5b85ffb1536b5a1a5688..19595807634b87373d67646c0ccee7f5fa3ac58e 100644 (file)
@@ -41,8 +41,8 @@ struct qportal_info qp_info[CONFIG_SYS_QMAN_NUM_PORTALS] = {
 
 #ifdef CONFIG_SYS_SRIO
 struct srio_liodn_id_table srio_liodn_tbl[] = {
-       SET_SRIO_LIODN_1(1, 307),
-       SET_SRIO_LIODN_1(2, 387),
+       SET_SRIO_LIODN_BASE(1, 307),
+       SET_SRIO_LIODN_BASE(2, 387),
 };
 int srio_liodn_tbl_sz = ARRAY_SIZE(srio_liodn_tbl);
 #endif
index 7ed93acdcff564ac5dd8d27c1c396ea3658041e0..6d7b3b3274f96cb0ac13f67f0ff2c486f735a641 100644 (file)
 #define CONFIG_SYS_FSL_SRIO_MAX_PORTS  2
 #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
 #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
+#define CONFIG_SYS_FSL_SRIO_LIODN
 #else
 #define CONFIG_MAX_CPUS                        2
 #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 2