[U-Boot] [PATCH v2 3/4] x86: config option for loading ACPI table from QEMU

Bin Meng bmeng.cn at gmail.com
Wed Jan 20 09:46:45 CET 2016


On Wed, Jan 20, 2016 at 12:24 PM, Miao Yan <yanmiaobest at gmail.com> wrote:
> This patch adds a config option for loading ACPI table from QEMU. When enabled,
> U-Boot won't generate ACPI tables, but use those provided by QEMU.
>
> Signed-off-by: Miao Yan <yanmiaobest at gmail.com>
> ---
>  arch/x86/Kconfig           | 9 +++++++++
>  arch/x86/cpu/qemu/Makefile | 2 ++
>  arch/x86/lib/Makefile      | 2 ++
>  3 files changed, 13 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Tested-by: Bin Meng <bmeng.cn at gmail.com>

But please see one nits below:

> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index f07567c..26c8d83 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -358,6 +358,15 @@ config GENERATE_ACPI_TABLE
>           by the operating system. It defines platform-independent interfaces
>           for configuration and power management monitoring.
>
> +config QEMU_ACPI_TABLE
> +       bool "load ACPI table from QEMU fw_cfg interface"

nits: load -> Load

I can fix this when applying.

> +       depends on GENERATE_ACPI_TABLE && QEMU
> +       default y
> +       help
> +         By default, U-Boot generates its own ACPI tables. This option, if
> +         enabled, disables U-Boot's version and loads ACPI tables generated
> +         by QEMU.
> +

[snip]

Regards,
Bin


More information about the U-Boot mailing list