summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/cpu/mpc85xx/p3041_ids.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-10-14 00:01:23 -0500
committerKumar Gala <galak@kernel.crashing.org>2011-10-18 00:36:15 -0500
commit1a0c64219df1fe4f8c40ed2ecaa0da1b4e0e26f7 (patch)
tree02518fbf1d3cb746a4947623ec1bf5c233f1d9ff /arch/powerpc/cpu/mpc85xx/p3041_ids.c
parentf5b9e736418422f9f3501b9854294b38275f4abd (diff)
downloadu-boot-1a0c64219df1fe4f8c40ed2ecaa0da1b4e0e26f7.tar.gz
u-boot-1a0c64219df1fe4f8c40ed2ecaa0da1b4e0e26f7.tar.xz
u-boot-1a0c64219df1fe4f8c40ed2ecaa0da1b4e0e26f7.zip
powerpc/85xx: Update setting of SRIO LIODNs
Properly set the LIODN values associated with SRIO controller. On P4080/P3060 we have an LIODN per port and one for the RMU. On P2041/P3041/P5020 we have 2 LIODNs per port. Update the tables for all of these devices to properly handle both styles. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/p3041_ids.c')
-rw-r--r--arch/powerpc/cpu/mpc85xx/p3041_ids.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/p3041_ids.c b/arch/powerpc/cpu/mpc85xx/p3041_ids.c
index 96f32725f5..7ce9fc4cc5 100644
--- a/arch/powerpc/cpu/mpc85xx/p3041_ids.c
+++ b/arch/powerpc/cpu/mpc85xx/p3041_ids.c
@@ -40,6 +40,12 @@ struct qportal_info qp_info[CONFIG_SYS_QMAN_NUM_PORTALS] = {
};
#endif
+struct srio_liodn_id_table srio_liodn_tbl[] = {
+ SET_SRIO_LIODN_2(1, 199, 200),
+ SET_SRIO_LIODN_2(2, 201, 202),
+};
+int srio_liodn_tbl_sz = ARRAY_SIZE(srio_liodn_tbl);
+
struct liodn_id_table liodn_tbl[] = {
#ifdef CONFIG_SYS_DPAA_QBMAN
SET_QMAN_LIODN(31),