Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 648CCC433EF for ; Fri, 17 Sep 2021 16:18:53 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CC0AE60D07 for ; Fri, 17 Sep 2021 16:18:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CC0AE60D07 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9415B83260; Fri, 17 Sep 2021 18:18:40 +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="eJI2oRzc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1FF6B83244; Fri, 17 Sep 2021 18:18:00 +0200 (CEST) Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (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 4B6E183231 for ; Fri, 17 Sep 2021 18:17:52 +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-wm1-x336.google.com with SMTP id e26so7769083wmk.2 for ; Fri, 17 Sep 2021 09:17:52 -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=Qfw+t6Izw2vSdC75SFdy7IIdd85pXvzKU+hUO0FiiKw=; b=eJI2oRzcTFIXwi8I/Bg2bNpkxJgQ6s+GBaxIxGDlMmgd5QXzFu0PddCXCKj1g6KDqB +CmpoI2EINEBTvrCrN14VEd/ahHes3A0nn9+Al8HodybqPXeBXf/LqnT0kJ3Ar/ua3Hf sbVSki2HorL03HGFwrE68sh6z14tSOV5q9FA8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Qfw+t6Izw2vSdC75SFdy7IIdd85pXvzKU+hUO0FiiKw=; b=MRfqcgTlQdhmPvpwniSTLnFHaVq3JVX/2y70uxxuFTjlRWQKStNidNsXfnLc2ei59s t/eBQWIJ/3EOsc77xOOn8BZsd6vGdFqEC+nyPCjpNSjGFkH9n5KfjbL+BFzF4xwSRD3s aDo7n+cTIK/XFd1aP49hmObbpn4GRK1NrON5JW1v15TRX47JT0vwZ/PJsLJSRHEEnEwu y1eJvXuv5PUhV95yZZGl0AroYt7aYqxSTey81Ol0msCr7CLDRAjS8Dfp0UBYvJADOZdb N/VjGEWli+BNq/Z6apRNZzoBr1MUK+pVXFyIKI9+ype9Lr/QoceSBaXaq8rEDK+BBRgw HqMg== X-Gm-Message-State: AOAM533LAMM+Y9WYsLRQe/GsXG/bRzMLsbpcd+waukx89lfsWr+lAcKj 7+q6GAMHVORqFgqlOPbdssifJ2WcvqoY4Ij9 X-Google-Smtp-Source: ABdhPJxVYYxC+jG4o8c0UTtI/iKWsvZ9ng2dUVE3jOFUSRLq4H0qxe9Dk8gdwL7KhhhVCKgTU75pTQ== X-Received: by 2002:a1c:c918:: with SMTP id f24mr15875841wmb.61.1631895471486; Fri, 17 Sep 2021 09:17:51 -0700 (PDT) Received: from sjg1.COMFAST (host-92-2-168-81.as13285.net. [92.2.168.81]) by smtp.gmail.com with ESMTPSA id 48sm7699906wrc.14.2021.09.17.09.17.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Sep 2021 09:17:51 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Masahiro Yamada , Simon Glass Subject: [PATCH 03/17] acpi: Add a Kconfig for SPL Date: Fri, 17 Sep 2021 10:17:26 -0600 Message-Id: <20210917161741.1275871-4-sjg@chromium.org> X-Mailer: git-send-email 2.33.0.309.g3052b89438-goog In-Reply-To: <20210917161741.1275871-1-sjg@chromium.org> References: <20210917161741.1275871-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 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.103.2 at phobos.denx.de X-Virus-Status: Clean At present we rely on this not existing to avoid building ACPI for SPL. But with the new split configs this does not work. Add a separate Kconfig instead. Signed-off-by: Simon Glass --- drivers/core/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index 9ae188c1dfc..4c2aeb8bce5 100644 --- a/drivers/core/Kconfig +++ b/drivers/core/Kconfig @@ -332,6 +332,11 @@ config ACPIGEN things like generating device-specific tables and returning the ACPI name of a device. +config SPL_ACPIGEN + def_bool n + help + Dummy option to ensure that ACPI tables are not generated in SPL. + config BOUNCE_BUFFER bool "Include bounce buffer API" help -- 2.33.0.309.g3052b89438-goog