Commit ac2aa21a authored by Anton Blanchard's avatar Anton Blanchard

ppc64: Add winnipeg support

parent 2185c0c3
...@@ -513,8 +513,10 @@ alloc_phb(struct device_node *dev, char *model, unsigned int addr_size_words) ...@@ -513,8 +513,10 @@ alloc_phb(struct device_node *dev, char *model, unsigned int addr_size_words)
/*************************************************************** /***************************************************************
* Speedwagon * Speedwagon
* include Winnipeg as well for the time being.
***************************************************************/ ***************************************************************/
} else if (strstr(model, "Speedwagon")) { } else if ((strstr(model, "Speedwagon")) ||
(strstr(model, "Winnipeg"))) {
PPCDBG(PPCDBG_PHBINIT, "\tCreate speedwagon\n"); PPCDBG(PPCDBG_PHBINIT, "\tCreate speedwagon\n");
phb = pci_alloc_pci_controller("PHB SW",phb_type_speedwagon); phb = pci_alloc_pci_controller("PHB SW",phb_type_speedwagon);
if (phb == NULL) return NULL; if (phb == NULL) return NULL;
......
...@@ -902,11 +902,13 @@ prom_initialize_tce_table(void) ...@@ -902,11 +902,13 @@ prom_initialize_tce_table(void)
/* Keep the old logic in tack to avoid regression. */ /* Keep the old logic in tack to avoid regression. */
if (compatible[0] != 0) { if (compatible[0] != 0) {
if((strstr(compatible, RELOC("python")) == NULL) && if((strstr(compatible, RELOC("python")) == NULL) &&
(strstr(compatible, RELOC("Speedwagon")) == NULL)) (strstr(compatible, RELOC("Speedwagon")) == NULL) &&
(strstr(compatible, RELOC("Winnipeg")) == NULL))
continue; continue;
} else if (model[0] != 0) { } else if (model[0] != 0) {
if ((strstr(model, RELOC("ython")) == NULL) && if ((strstr(model, RELOC("ython")) == NULL) &&
(strstr(model, RELOC("peedwagon")) == NULL)) (strstr(model, RELOC("peedwagon")) == NULL) &&
(strstr(model, RELOC("innipeg")) == NULL))
continue; continue;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment