// SPDX-License-Identifier: GPL-2.0-only /* * Generic PowerPC 44x platform support * * Copyright 2008 IBM Corporation * * This implements simple platform support for PowerPC 44x chips. This is * mostly used for eval boards or other simple and "generic" 44x boards. If * your board has custom functions or hardware, then you will likely want to * implement your own board.c file to accommodate it.
*/
/* This is the list of boards that can be supported by this simple * platform code. This does _not_ mean the boards are compatible, * as they most certainly are not from a device tree perspective. * However, their differences are handled by the device tree and the * drivers and therefore they don't need custom board support files. * * Again, if your board needs to do things differently then create a * board.c file for it rather than adding it to this list.
*/ staticchar *board[] __initdata = { "amcc,arches", "amcc,bamboo", "apm,bluestone", "amcc,glacier", "ibm,ebony", "amcc,eiger", "amcc,katmai", "amcc,rainier", "amcc,redwood", "amcc,sequoia", "amcc,taishan", "amcc,yosemite", "mosaixtech,icon"
};
staticint __init ppc44x_probe(void)
{ int i = 0;
for (i = 0; i < ARRAY_SIZE(board); i++) { if (of_machine_is_compatible(board[i])) {
pci_set_flags(PCI_REASSIGN_ALL_RSRC); return 1;
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.