/* * Called very early, device-tree isn't unflattened
*/ staticint __init p2020_probe(void)
{ struct device_node *p2020_cpu;
/* * There is no common compatible string for all P2020 boards. * The only common thing is "PowerPC,P2020@0" cpu node. * So check for P2020 board via this cpu node.
*/
p2020_cpu = of_find_node_by_path("/cpus/PowerPC,P2020@0");
of_node_put(p2020_cpu);
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.