[v1,43/43] acpi: Enable ACPI table generation by default on x86

Message ID 20200614215726.v1.43.I4c0c2ab2332368225244b54e2762d8acd78b4982@changeid
State New
Headers show
Series
  • x86: Programmatic generation of ACPI tables (Part C)
Related show

Commit Message

Simon Glass June 15, 2020, 3:57 a.m.
This should ideally be used by all x86 boards in U-Boot. Enable it by
default. If some boards don't use it, the cost is small.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Bin Meng June 30, 2020, 8:42 a.m. | #1
Hi Simon,

On Mon, Jun 15, 2020 at 11:58 AM Simon Glass <sjg at chromium.org> wrote:
>
> This should ideally be used by all x86 boards in U-Boot. Enable it by
> default. If some boards don't use it, the cost is small.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  arch/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/Kconfig b/arch/Kconfig
> index a11f872938..650bc0dbca 100644
> --- a/arch/Kconfig
> +++ b/arch/Kconfig
> @@ -190,6 +190,7 @@ config X86
>         imply PCH
>         imply RTC_MC146818
>         imply IRQ
> +       imply ACPIGEN

if !QEMU ?

>
>         # Thing to enable for when SPL/TPL are enabled: SPL
>         imply SPL_DM
> --

Regards,
Bin

Patch

diff --git a/arch/Kconfig b/arch/Kconfig
index a11f872938..650bc0dbca 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -190,6 +190,7 @@  config X86
 	imply PCH
 	imply RTC_MC146818
 	imply IRQ
+	imply ACPIGEN
 
 	# Thing to enable for when SPL/TPL are enabled: SPL
 	imply SPL_DM