Message ID | 20200707213233.v2.44.I4c0c2ab2332368225244b54e2762d8acd78b4982@changeid |
---|---|
State | Superseded |
Delegated to: | Bin Meng |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=Fs6ITQy9; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B1lYB6H3Gz9sSJ for <incoming@patchwork.ozlabs.org>; Wed, 8 Jul 2020 13:44:30 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8F4AA82327; Wed, 8 Jul 2020 05:34:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Fs6ITQy9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2805D822C8; Wed, 8 Jul 2020 05:34:25 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6635A822B7 for <u-boot@lists.denx.de>; Wed, 8 Jul 2020 05:34:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x142.google.com with SMTP id x9so37918669ila.3 for <u-boot@lists.denx.de>; Tue, 07 Jul 2020 20:34:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5DfQWxPbZkRa62IhQHrIod+ytfiCPuMQjnSDU2u3LAw=; b=Fs6ITQy9F/jcyaQTl/eO14YCB97YBO+8TBFY7SDhSSeqh/lpj5nZTndtp8PKRfa7T2 3G/GBiqCo5rS+EHf52F1eJx9d81L6mxdaTyfPTej+UH9NWh4QUyiT7vKK7AhdhralXna bfljdD7USfC9VftWRCklC5sUNO7kahhRboTRY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5DfQWxPbZkRa62IhQHrIod+ytfiCPuMQjnSDU2u3LAw=; b=aV+qds5V2VfBEExwrl/sGMF40CNMqRC+t8xbLC2OBN3flUxGRTfNw5wJ5HMNWKX+Xy E7T53SYc03H4nniv9SsJ+8RWdno4aOnhLcCkNisM9mJaOR60YH169Ril/BGrumOGYiBz /Gkmn1GkGlZAromF4YBIszWYzJULIy6vCa+JxQl0t134DZlETLnp6vlBB6YRqHpqYR1L 9wS9Gdjj8e2XYC81cUboDzp6QnSygaABFjMULvNc+XqAuMcS2VF/gcWr7aBM0yBFsHKD ifVeKF3F/x/oFMoGgl5cyzNhsjgktBYjp1e8ijmMJaTpElIuGgc4vRlcZVOpLV+SW3zx SSSQ== X-Gm-Message-State: AOAM532pp9BZzvmBrVm4Iv/khqONqTos279cpNXXATFbeXZu/bV7hwbR cPQQ5XhBBrFbxXaqCgnspgC+gmwfFoSheA== X-Google-Smtp-Source: ABdhPJzDq9OL04MnjmODJXvfV27h2hpR6ndOHYsLWYANLOlcfUbUJo29wnppQFtXuMzuEQZa5Do4eg== X-Received: by 2002:a92:c0c4:: with SMTP id t4mr38274189ilf.211.1594179261193; Tue, 07 Jul 2020 20:34:21 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id k1sm13970230ilr.35.2020.07.07.20.34.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 20:34:20 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Bin Meng <bmeng.cn@gmail.com>, Wolfgang Wallner <wolfgang.wallner@br-automation.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH v2 44/44] acpi: Enable ACPI table generation by default on x86 Date: Tue, 7 Jul 2020 21:32:45 -0600 Message-Id: <20200707213233.v2.44.I4c0c2ab2332368225244b54e2762d8acd78b4982@changeid> X-Mailer: git-send-email 2.27.0.383.g050319c2ae-goog In-Reply-To: <20200708033246.2626378-1-sjg@chromium.org> References: <20200708033246.2626378-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
x86: Programmatic generation of ACPI tables (Part C)
|
expand
|
On Wed, Jul 8, 2020 at 11:34 AM Simon Glass <sjg@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@chromium.org> > --- > > Changes in v2: > - Don't enable this for qemu > > arch/Kconfig | 1 + > drivers/core/Kconfig | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff --git a/arch/Kconfig b/arch/Kconfig index a11f872938..9be02d1319 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 diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index a594899f37..00d1d80dc3 100644 --- a/drivers/core/Kconfig +++ b/drivers/core/Kconfig @@ -270,7 +270,7 @@ config DM_DEV_READ_INLINE config ACPIGEN bool "Support ACPI table generation in driver model" - default y if SANDBOX || GENERATE_ACPI_TABLE + default y if SANDBOX || (GENERATE_ACPI_TABLE && !QEMU) help This option enables generation of ACPI tables using driver-model devices. It adds a new operation struct to each driver, to support
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@chromium.org> --- Changes in v2: - Don't enable this for qemu arch/Kconfig | 1 + drivers/core/Kconfig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)