X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=second%2Fyaboot.c;fp=second%2Fyaboot.c;h=9b66ab44e1be0ee82b88e386a5d0358428766e73;hb=396aa4f25cd3d454f9830989fa279072f43811d7;hp=0fd26a106af36d2599019ebb9289aa1ba150bc5b;hpb=b1bdfaf8b8da39e0aa888643b1998a948f83e7dd;p=yaboot.git diff --git a/second/yaboot.c b/second/yaboot.c index 0fd26a1..9b66ab4 100644 --- a/second/yaboot.c +++ b/second/yaboot.c @@ -205,6 +205,9 @@ yaboot_start (unsigned long r3, unsigned long r4, unsigned long r5) else if (prom_getprop(root, "device_type", model, 256 ) > 0 && !strncmp("chrp", model, 4)) _machine = _MACH_chrp; + else if (prom_getprop(root, "compatible", model, 256 ) > 0 && + strstr(model, "ibm,powernv")) + _machine = _MACH_chrp; else { if (prom_getprop(root, "model", model, 256 ) > 0 && !strncmp(model, "IBM", 3))