]> git.ozlabs.org Git - yaboot.git/blobdiff - second/yaboot.c
ofpath: Add support for ethernet and HFI devices
[yaboot.git] / second / yaboot.c
index 0fd26a106af36d2599019ebb9289aa1ba150bc5b..9b66ab44e1be0ee82b88e386a5d0358428766e73 100644 (file)
@@ -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))