IBM Akebono: Add the Akebono platform
This patch adds support for the IBM Akebono board. Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:

committed by
Benjamin Herrenschmidt

parent
6b11930f72
commit
2a2c74b2ef
@@ -1440,7 +1440,8 @@ static int __init ppc4xx_pciex_check_core_init(struct device_node *np)
|
||||
ppc4xx_pciex_hwops = &ppc405ex_pcie_hwops;
|
||||
#endif
|
||||
#ifdef CONFIG_476FPE
|
||||
if (of_device_is_compatible(np, "ibm,plb-pciex-476fpe"))
|
||||
if (of_device_is_compatible(np, "ibm,plb-pciex-476fpe")
|
||||
|| of_device_is_compatible(np, "ibm,plb-pciex-476gtr"))
|
||||
ppc4xx_pciex_hwops = &ppc_476fpe_pcie_hwops;
|
||||
#endif
|
||||
if (ppc4xx_pciex_hwops == NULL) {
|
||||
@@ -1751,7 +1752,10 @@ static int __init ppc4xx_setup_one_pciex_POM(struct ppc4xx_pciex_port *port,
|
||||
dcr_write(port->dcrs, DCRO_PEGPL_OMR1MSKL,
|
||||
sa | DCRO_PEGPL_460SX_OMR1MSKL_UOT
|
||||
| DCRO_PEGPL_OMRxMSKL_VAL);
|
||||
else if (of_device_is_compatible(port->node, "ibm,plb-pciex-476fpe"))
|
||||
else if (of_device_is_compatible(
|
||||
port->node, "ibm,plb-pciex-476fpe") ||
|
||||
of_device_is_compatible(
|
||||
port->node, "ibm,plb-pciex-476gtr"))
|
||||
dcr_write(port->dcrs, DCRO_PEGPL_OMR1MSKL,
|
||||
sa | DCRO_PEGPL_476FPE_OMR1MSKL_UOT
|
||||
| DCRO_PEGPL_OMRxMSKL_VAL);
|
||||
@@ -1881,7 +1885,10 @@ static void __init ppc4xx_configure_pciex_PIMs(struct ppc4xx_pciex_port *port,
|
||||
sa |= PCI_BASE_ADDRESS_MEM_PREFETCH;
|
||||
|
||||
if (of_device_is_compatible(port->node, "ibm,plb-pciex-460sx") ||
|
||||
of_device_is_compatible(port->node, "ibm,plb-pciex-476fpe"))
|
||||
of_device_is_compatible(
|
||||
port->node, "ibm,plb-pciex-476fpe") ||
|
||||
of_device_is_compatible(
|
||||
port->node, "ibm,plb-pciex-476gtr"))
|
||||
sa |= PCI_BASE_ADDRESS_MEM_TYPE_64;
|
||||
|
||||
out_le32(mbase + PECFG_BAR0HMPA, RES_TO_U32_HIGH(sa));
|
||||
|
Reference in New Issue
Block a user