Support Kirin 960 devices

Close #928
This commit is contained in:
topjohnwu 2018-12-31 16:09:01 +08:00
parent d9ace35c3e
commit 1df65940b9

View File

@ -92,7 +92,7 @@ static void parse_cmdline(struct cmdline *cmd) {
} else if (strncmp(tok, "enter_recovery", 14) == 0) {
sscanf(tok, "enter_recovery=%d", &enter_recovery);
} else if (strncmp(tok, "androidboot.hardware", 20) == 0) {
kirin = strstr(tok, "kirin") != nullptr;
kirin = strstr(tok, "kirin") || strstr(tok, "hi3660");
}
}