a21s: fix incorrect recognition of this device as skip_initramfs device

This commit is contained in:
jin 2021-05-03 19:34:20 +09:00
parent fe4981da21
commit e999814816

View File

@ -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);