x86: efi: payload: Turn on acpi in the kernel command line
authorBin Meng <bmeng.cn@gmail.com>
Thu, 23 Aug 2018 15:24:11 +0000 (08:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 30 Aug 2018 03:23:14 +0000 (11:23 +0800)
Now that we have full Linux kernel boot support on EFI payload,
avoid pass "acpi=off" to the kernel command line.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/configs/x86-common.h

index cc621cb942b53ea90c6f5f11330e587613d3e109..f0b027e69c48ce08ef67d76330797e1650a3a3f9 100644 (file)
 #define CONFIG_BOOTFILE                "bzImage"
 #define CONFIG_LOADADDR                0x1000000
 #define CONFIG_RAMDISK_ADDR    0x4000000
-#ifdef CONFIG_GENERATE_ACPI_TABLE
+#if defined(CONFIG_GENERATE_ACPI_TABLE) || defined(CONFIG_EFI_STUB)
 #define CONFIG_OTHBOOTARGS     "othbootargs=\0"
 #else
 #define CONFIG_OTHBOOTARGS     "othbootargs=acpi=off\0"