]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Remove acpi=off boot parameter when ACPI is on
authorBin Meng <bmeng.cn@gmail.com>
Sat, 7 May 2016 14:46:35 +0000 (07:46 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 23 May 2016 07:18:00 +0000 (15:18 +0800)
Remove the kernel boot parameter acpi=off so that kernel can turn on
ACPI support.

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

index b79f47baf3fefa52adf8c4e1cb23a942ca913ffd..b4aad6cd24ff5b3bf70c6352c1a3c91eaf2e64a9 100644 (file)
 #define CONFIG_HOSTNAME                x86
 #define CONFIG_BOOTFILE                "bzImage"
 #define CONFIG_LOADADDR                0x1000000
-#define CONFIG_RAMDISK_ADDR            0x4000000
+#define CONFIG_RAMDISK_ADDR    0x4000000
+#ifdef CONFIG_GENERATE_ACPI_TABLE
+#define CONFIG_OTHBOOTARGS     "othbootargs=\0"
+#else
+#define CONFIG_OTHBOOTARGS     "othbootargs=acpi=off\0"
+#endif
 
 #define CONFIG_EXTRA_ENV_SETTINGS                      \
        CONFIG_STD_DEVICES_SETTINGS                     \
        "pciconfighost=1\0"                             \
        "netdev=eth0\0"                                 \
        "consoledev=ttyS0\0"                            \
-       "othbootargs=acpi=off\0"                        \
+       CONFIG_OTHBOOTARGS                              \
        "ramdiskaddr=0x4000000\0"                       \
        "ramdiskfile=initramfs.gz\0"