diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-10-14 00:01:23 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-10-18 00:36:15 -0500 |
commit | 1a0c64219df1fe4f8c40ed2ecaa0da1b4e0e26f7 (patch) | |
tree | 02518fbf1d3cb746a4947623ec1bf5c233f1d9ff /arch/powerpc/cpu/mpc85xx/p4080_ids.c | |
parent | f5b9e736418422f9f3501b9854294b38275f4abd (diff) | |
download | u-boot-imx-1a0c64219df1fe4f8c40ed2ecaa0da1b4e0e26f7.zip u-boot-imx-1a0c64219df1fe4f8c40ed2ecaa0da1b4e0e26f7.tar.gz u-boot-imx-1a0c64219df1fe4f8c40ed2ecaa0da1b4e0e26f7.tar.bz2 |
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/p4080_ids.c')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/p4080_ids.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/p4080_ids.c b/arch/powerpc/cpu/mpc85xx/p4080_ids.c index 560c02a..a6ea6af 100644 --- a/arch/powerpc/cpu/mpc85xx/p4080_ids.c +++ b/arch/powerpc/cpu/mpc85xx/p4080_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_1(1, 198), + SET_SRIO_LIODN_1(2, 199), +}; +int srio_liodn_tbl_sz = ARRAY_SIZE(srio_liodn_tbl); + struct liodn_id_table liodn_tbl[] = { SET_USB_LIODN(1, "fsl-usb2-mph", 127), SET_USB_LIODN(2, "fsl-usb2-dr", 157), @@ -53,9 +59,7 @@ struct liodn_id_table liodn_tbl[] = { SET_DMA_LIODN(1, 196), SET_DMA_LIODN(2, 197), - SET_GUTS_LIODN("fsl,rapidio-delta", 198, rio1liodnr, 0), - SET_GUTS_LIODN(NULL, 199, rio2liodnr, 0), - SET_GUTS_LIODN(NULL, 200, rmuliodnr, 0), + SET_GUTS_LIODN("fsl,srio-rmu", 200, rmuliodnr, 0xd3000), #ifdef CONFIG_SYS_DPAA_QBMAN SET_QMAN_LIODN(31), |