Print this page
11630 remove checks for 64-bit capable hardware

@@ -19,10 +19,11 @@
  * CDDL HEADER END
  */
 /*
  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ * Copyright 2019 Peter Tribbble.
  */
 
 #include <sys/param.h>
 #include <sys/fcntl.h>
 #include <sys/obpdefs.h>

@@ -451,16 +452,13 @@
                 return;
         }
         prom_panic("redirect_boot_path: mangled boot path!");
 }
 
-#define PROM_VERS_MAX_LEN       64
-
 void
 system_check(void)
 {
-        char buf[PROM_VERS_MAX_LEN];
         pnode_t n;
         char    arch[128];
         size_t  len;
         bootplat_defaults_t *plat_defaults;
 

@@ -481,16 +479,10 @@
                 }
         } else {
                 dprintf("device_type: no such property, len=%d\n", (int)len);
         }
 
-        if (!is_sun4v && cpu_is_ultrasparc_1()) {
-                printf("UltraSPARC I processors are not supported by this "
-                    "release of Solaris.\n");
-                prom_exit_to_mon();
-        }
-
         /*
          * Set up defaults per platform
          */
         plat_defaults = (is_sun4v) ?
             &sun4v_plat_defaults : &sun4u_plat_defaults;

@@ -500,17 +492,10 @@
         vac = plat_defaults->plat_defaults_vac;
 
         dprintf("default_name: %s\n", default_name);
         dprintf("default_path: %s\n", default_path);
         dprintf("vac: %d\n", vac);
-
-        if (prom_version_check(buf, PROM_VERS_MAX_LEN, NULL) != PROM_VER64_OK) {
-                printf("The firmware on this system does not support the 64-bit"
-                    " OS.\n\tPlease upgrade to at least the following version:"
-                    "\n\n\t%s\n", buf);
-                prom_exit_to_mon();
-        }
 }
 
 /*
  * Reads in the standalone (client) program and jumps to it.  If this
  * attempt fails, prints "boot failed" and returns to its caller.