a21s: fix incorrect recognition of this device as skip_initramfs device
This commit is contained in:
parent
fe4981da21
commit
e999814816
@ -177,6 +177,10 @@ void load_kernel_info(cmdline *cmd) {
|
|||||||
strcpy(cmd->fstab_suffix, value);
|
strcpy(cmd->fstab_suffix, value);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (strcmp(cmd->hardware, "exynos850") == 0) {
|
||||||
|
cmd->skip_initramfs = false;
|
||||||
|
}
|
||||||
|
|
||||||
LOGD("Kernel cmdline info:\n");
|
LOGD("Kernel cmdline info:\n");
|
||||||
LOGD("skip_initramfs=[%d]\n", cmd->skip_initramfs);
|
LOGD("skip_initramfs=[%d]\n", cmd->skip_initramfs);
|
||||||
|
Loading…
Reference in New Issue
Block a user