Make the MacBook3,1 boot again.
Approved by: re (kib)
This commit is contained in:
parent
a743684e60
commit
61fb73de41
@ -214,6 +214,7 @@ cpu_startup(dummy)
|
||||
sysenv = getenv("smbios.system.product");
|
||||
if (sysenv != NULL) {
|
||||
if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
|
||||
strncmp(sysenv, "MacBook3,1", 10) == 0 ||
|
||||
strncmp(sysenv, "MacBookPro1,1", 13) == 0 ||
|
||||
strncmp(sysenv, "MacBookPro1,2", 13) == 0 ||
|
||||
strncmp(sysenv, "Macmini1,1", 10) == 0) {
|
||||
|
@ -258,6 +258,7 @@ cpu_startup(dummy)
|
||||
sysenv = getenv("smbios.system.product");
|
||||
if (sysenv != NULL) {
|
||||
if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
|
||||
strncmp(sysenv, "MacBook3,1", 10) == 0 ||
|
||||
strncmp(sysenv, "MacBookPro1,1", 13) == 0 ||
|
||||
strncmp(sysenv, "MacBookPro1,2", 13) == 0 ||
|
||||
strncmp(sysenv, "Macmini1,1", 10) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user