Commit 1df65940 authored by topjohnwu's avatar topjohnwu

Support Kirin 960 devices

Close #928
parent d9ace35c
...@@ -92,7 +92,7 @@ static void parse_cmdline(struct cmdline *cmd) { ...@@ -92,7 +92,7 @@ static void parse_cmdline(struct cmdline *cmd) {
} else if (strncmp(tok, "enter_recovery", 14) == 0) { } else if (strncmp(tok, "enter_recovery", 14) == 0) {
sscanf(tok, "enter_recovery=%d", &enter_recovery); sscanf(tok, "enter_recovery=%d", &enter_recovery);
} else if (strncmp(tok, "androidboot.hardware", 20) == 0) { } else if (strncmp(tok, "androidboot.hardware", 20) == 0) {
kirin = strstr(tok, "kirin") != nullptr; kirin = strstr(tok, "kirin") || strstr(tok, "hi3660");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment