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 8ACF2C433EF for ; Fri, 17 Sep 2021 16:19:31 +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 C3D2660D07 for ; Fri, 17 Sep 2021 16:19:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C3D2660D07 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 9D17C8324B; Fri, 17 Sep 2021 18:18:54 +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="K0NxkMhH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5A3598322E; Fri, 17 Sep 2021 18:18:11 +0200 (CEST) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (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 C20CD8323E for ; Fri, 17 Sep 2021 18:17:55 +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-x334.google.com with SMTP id d207-20020a1c1dd8000000b00307e2d1ec1aso7256623wmd.5 for ; Fri, 17 Sep 2021 09:17:55 -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=+9vATUXOW2FW3meK+rNMeZD/sAuwN+OsVoj9wsk6r3o=; b=K0NxkMhH1zKjmfadzinkoRiJpd3FIKAqdDxPPCInmfPWZP3THH1eSO2q7Nn4Agti2o bsrfo4UV89/vTgBIkklXe73pW7OqOfZ9yqUaK9n1uAD/PRwRgm6EEGlSEULakWSHHn5e CW1fsTfimwX6hM9xvbJH+c6STgYyaH7tDRhzo= 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=+9vATUXOW2FW3meK+rNMeZD/sAuwN+OsVoj9wsk6r3o=; b=EIbQ6hQa4cJeHrZkhUOKGT+fjMLyE/BJxp4H/eX5aetRIbhkwgI7vbp1cE51IGTvEo e2js94I8+x1LdwTsE0vAV4qYM+xC7K1T1RUfBxPqdN1C/9geyS46rDU3IXg7iN9OpmF7 F5/2AZFV3lsd6N0lFaLYk67Nj3dV3/GwyTGRD07/4U6e88mFXyJp1r7g/WlOLX28H5ql SJGIcH+66WZ0XUywiBiG7cUZyBDTe+MgUFnBVo0mBGhLyYsrGG2niEZwH3O/O84uRPzd Y9LNeSE2ayU2FAbd2VoZidD9BIYYNo1AWF4s5TSkFr5qS2qYkiQaIEvnU/Qr0AW2j+97 KQ0A== X-Gm-Message-State: AOAM5328MEvKqmNa8sY8ipr+38UV5Xzn7WxKTGyBMGoikiPi74EPe1oe CiL9qPANUv2vMbbwEsbhgK+aAh1xaTIJa7DG X-Google-Smtp-Source: ABdhPJx1RK4lrXlB0bqgP8ttwx5F9BCpd5vOVGaZWrALmZtaAzThVCeDcMDz9LUIkLyCpmpnUpeSNg== X-Received: by 2002:a1c:4486:: with SMTP id r128mr11277551wma.8.1631895474889; Fri, 17 Sep 2021 09:17:54 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Sep 2021 09:17:54 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Masahiro Yamada , Simon Glass , Lukasz Majewski Subject: [PATCH 06/17] power: Add SPL Kconfig for sandbox pmc emulator Date: Fri, 17 Sep 2021 10:17:29 -0600 Message-Id: <20210917161741.1275871-7-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 the emulator for SPL. But with the new split configs this does not work. Add a separate Kconfig instead. Signed-off-by: Simon Glass --- drivers/power/acpi_pmc/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/power/acpi_pmc/Kconfig b/drivers/power/acpi_pmc/Kconfig index fcd50e36cad..d3f363b0dcf 100644 --- a/drivers/power/acpi_pmc/Kconfig +++ b/drivers/power/acpi_pmc/Kconfig @@ -32,3 +32,8 @@ config ACPI_PMC_SANDBOX the uclass logic can be tested. You can use the 'pmc' command to access information from the driver. It uses I/O access to read from the PMC. + +config SPL_ACPI_PMC_SANDBOX + def_bool n + help + Dummy option to ensure that this feature is not enabled in SPL. -- 2.33.0.309.g3052b89438-goog