From patchwork Tue Feb 23 10:35:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1443458 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: 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=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) 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=bW2K01Aq; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DlFpK4zv8z9s1l for ; Tue, 23 Feb 2021 21:36:25 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 78A72829F2; Tue, 23 Feb 2021 11:36:07 +0100 (CET) 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="bW2K01Aq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AE679829EF; Tue, 23 Feb 2021 11:36:02 +0100 (CET) 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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (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 900A6829EA for ; Tue, 23 Feb 2021 11:35:58 +0100 (CET) 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-qt1-x832.google.com with SMTP id c1so11498148qtc.1 for ; Tue, 23 Feb 2021 02:35:58 -0800 (PST) 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=Oc6nDs+TX3Ii65RbBzg06s9XeuRRsOxALboAwIzudmI=; b=bW2K01AquzJEyJgadGDCoP/Y6Nal0kfdmB+7I9qVPcod+3MKdR4p3CkIgqxJ1OBxDo fsRWLSHEQoBRLC+MgUXPfcIX1nbno5hZjFfLL49KVFlGvgsliIB0BHAjXYzBw/E8xYr5 YwPONuB6hYItdIcF2fUVq2I/fGSDqDcRYyfzM= 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=Oc6nDs+TX3Ii65RbBzg06s9XeuRRsOxALboAwIzudmI=; b=AJkQQPBPby4ieiFhGt+F2K+piLegOENUkr44Vj+cIqC2jbZThtHXlIadhWIo5nmlGr 1FUDHf1s9dATlWwDDTh71lpT7f5TX2Vx5s2wcuYhmOaWPI01AnUp2YAL5zQ5wtbD3BcC 0K2tg+zRn5P5+8ufRrhSy2S+9iHSgy0BJ7eEEFkVHAEx5Rm8QY0pgkqh9XGbHOG/QwNo AoJ1EgaeZOjgJFRnesAjn9I5dYUprn/A8+tgyTiOmk00JB5i80niVgB6b5rz7Z1FIxaL B6YN+7HnxmebkZMmi+BoG4Eq2yz6TRYt9z7UgZlsEvfbFmTM4ShTMy/6UyYX6Yqgh+SR Au3g== X-Gm-Message-State: AOAM531MZH4Y1h34j+PxepW5+zIDPe/biH/n9bLyVSMtILwxqF3zw+E4 NGEUv1TfRGXDFbPvt11+ZlOV0iQwfol6zlkY X-Google-Smtp-Source: ABdhPJxRThw0E7MVDErDFIDNqRZM5BKe+gsRLDGsPNY0n6QPzqTAimL5XLFjr+qcKc48QmyPnSL9bw== X-Received: by 2002:ac8:7599:: with SMTP id s25mr23486418qtq.135.1614076557240; Tue, 23 Feb 2021 02:35:57 -0800 (PST) Received: from sjg1.roam.corp.google.com ([70.127.249.40]) by smtp.gmail.com with ESMTPSA id f26sm14264099qkh.80.2021.02.23.02.35.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 02:35:56 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Bin Meng , Andy Shevchenko , Heinrich Schuchardt , Simon Glass Subject: [PATCH 2/3] x86: Move INTEL_ACPIGEN to arch/x86 Date: Tue, 23 Feb 2021 05:35:41 -0500 Message-Id: <20210223103542.1386572-2-sjg@chromium.org> X-Mailer: git-send-email 2.30.0.617.g56c4b15f3c-goog In-Reply-To: <20210223103542.1386572-1-sjg@chromium.org> References: <20210223103542.1386572-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean This option is better placed in the x86 code since it is not generic enough to be in the core code. Move it. Reported-by: Heinrich Schuchardt Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- arch/x86/Kconfig | 9 +++++++++ drivers/core/Kconfig | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index eddf2a774ef..c8ce2fcb88d 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1001,6 +1001,15 @@ config PCIEX_LENGTH_128MB config PCIEX_LENGTH_64MB bool +config INTEL_ACPIGEN + bool "Support ACPI table generation for Intel SoCs" + depends on ACPIGEN + help + This option adds some functions used for programatic generation of + ACPI tables on Intel SoCs. This provides features for writing CPU + information such as P states and T stages. Also included is a way + to create a GNVS table and set it up. + config INTEL_GMA_ACPI bool "Generate ACPI table for Intel GMA graphics" help diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index 00554af4995..1eccac28c62 100644 --- a/drivers/core/Kconfig +++ b/drivers/core/Kconfig @@ -329,15 +329,6 @@ config ACPIGEN things like generating device-specific tables and returning the ACPI name of a device. -config INTEL_ACPIGEN - bool "Support ACPI table generation for Intel SoCs" - depends on ACPIGEN - help - This option adds some functions used for programatic generation of - ACPI tables on Intel SoCs. This provides features for writing CPU - information such as P states and T stages. Also included is a way - to create a GNVS table and set it up. - config BOUNCE_BUFFER bool "Include bounce buffer API" help