Skip to content
Snippets Groups Projects
Commit b4125a23 authored by Laurentiu TUDOR's avatar Laurentiu TUDOR Committed by York Sun
Browse files

powerpc/t4240: set pcie liodn in the correct register


The liodn for the T4240's PCIE controller is no longer set
through a register in the guts register block but with one
in the PCIE register block itself.
Use the already existing SET_PCI_LIODN_BASE macro that puts
the liodn in the correct register.

Signed-off-by: default avatarLaurentiu Tudor <Laurentiu.Tudor@freescale.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: York Sun <yorksun@freescale.com>
parent 4e2e0df9
No related branches found
No related tags found
No related merge requests found
...@@ -86,10 +86,10 @@ struct liodn_id_table liodn_tbl[] = { ...@@ -86,10 +86,10 @@ struct liodn_id_table liodn_tbl[] = {
SET_SATA_LIODN(1, 555), SET_SATA_LIODN(1, 555),
SET_SATA_LIODN(2, 556), SET_SATA_LIODN(2, 556),
SET_PCI_LIODN(CONFIG_SYS_FSL_PCIE_COMPAT, 1, 148), SET_PCI_LIODN_BASE(CONFIG_SYS_FSL_PCIE_COMPAT, 1, 148),
SET_PCI_LIODN(CONFIG_SYS_FSL_PCIE_COMPAT, 2, 228), SET_PCI_LIODN_BASE(CONFIG_SYS_FSL_PCIE_COMPAT, 2, 228),
SET_PCI_LIODN(CONFIG_SYS_FSL_PCIE_COMPAT, 3, 308), SET_PCI_LIODN_BASE(CONFIG_SYS_FSL_PCIE_COMPAT, 3, 308),
SET_PCI_LIODN(CONFIG_SYS_FSL_PCIE_COMPAT, 4, 388), SET_PCI_LIODN_BASE(CONFIG_SYS_FSL_PCIE_COMPAT, 4, 388),
SET_DMA_LIODN(1, 147), SET_DMA_LIODN(1, 147),
SET_DMA_LIODN(2, 227), SET_DMA_LIODN(2, 227),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment