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

@ -178,6 +178,10 @@ void load_kernel_info(cmdline *cmd) {
} }
}); });
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);
LOGD("force_normal_boot=[%d]\n", cmd->force_normal_boot); LOGD("force_normal_boot=[%d]\n", cmd->force_normal_boot);