Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 373C7C54EED for ; Mon, 30 Jan 2023 15:56:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B8653859C7; Mon, 30 Jan 2023 16:56:22 +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="eHaKtC/p"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BA47A8597E; Mon, 30 Jan 2023 16:55:47 +0100 (CET) Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (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 9392C859AC for ; Mon, 30 Jan 2023 16:18:50 +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-io1-xd32.google.com with SMTP id o1so763224ioo.10 for ; Mon, 30 Jan 2023 07:18:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LDO2ts27GflvsB+cAcdTpkrCF6odEeYaESLV0MlbHh0=; b=eHaKtC/p7hb7hOt84hp97Q39z44jfwAojxZTwSCNvKXpdZ/Hi+gSI5/IUpZZ1wIqCH ygHV6PAYrLZa0QZ2+nZag/Nqcn2ZO/icoz5JxC3/dvyCFtSy3gGSoZontMzv1ASgor5R xOE8aara+IqzXICMXlVlEY5AlU8r9quu56Gto= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LDO2ts27GflvsB+cAcdTpkrCF6odEeYaESLV0MlbHh0=; b=kkgPOfkOMSioi3AHYlg4iuHWnuEqUh5rtzUy3Z9OhHsjfPTipsMtTEJG1nYQB77RSc BrBiiUtSBkigfarfkYQtN3s0ziqMJ9qyM1oUfx9cTE5f89qCoHpCuz2ey/RxQF+Dlpej h9aZGqhVhM/2ROADBQjoZ5YPAhxBEogliZrq8rPnVV7fNdv+DJ/TRVOpAcQ1jw4z1+xF QQUunwCVsVOAfg2EVvsQUt2ZwczekRzXHB24WDuyQWE/FJalaqaJt71qZWMCla2tkbUk 5YPc3FsGnnBsapC40JEWBkDys30RsOZRMk8yJYclvxbmk5W5E1sOoVvdjtLnnvnNhYO5 7DDA== X-Gm-Message-State: AO0yUKUDghbUL3QxNYt/yXTD4dxWFp/GfLp6y7nGCw+DbuMBaISRyke9 2bpiy9Oe52zPO0HUUP1eThceN6pum7FduD4P X-Google-Smtp-Source: AK7set8RXMKrnpsSsNqo85w3gN+p1AShKNU7b+MoNFmu1SNKl3pZMMTlYPaU8RADj9xjvOh3apvogg== X-Received: by 2002:a6b:ed07:0:b0:71a:660d:e565 with SMTP id n7-20020a6bed07000000b0071a660de565mr3980316iog.13.1675091859078; Mon, 30 Jan 2023 07:17:39 -0800 (PST) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id o13-20020a92d38d000000b00302bb083c2bsm4103194ilo.21.2023.01.30.07.17.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 07:17:38 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Aleksandar Gerasimovski , Priyanka Jain Subject: [PATCH 123/171] Correct SPL uses of PG_WCOM_UBOOT_UPDATE Date: Mon, 30 Jan 2023 08:15:24 -0700 Message-Id: <20230130151612.212732-124-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog In-Reply-To: <20230130151612.212732-102-sjg@chromium.org> References: <20230130151612.212732-102-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean This converts 2 usages of this option to the non-SPL form, since there is no SPL_PG_WCOM_UBOOT_UPDATE defined in Kconfig Signed-off-by: Simon Glass --- board/keymile/common/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c index 9cf5b71655c..8c282f9952a 100644 --- a/board/keymile/common/common.c +++ b/board/keymile/common/common.c @@ -80,9 +80,9 @@ int set_km_env(void) #if CONFIG_IS_ENABLED(PG_WCOM_UBOOT_UPDATE_SUPPORTED) #if ((!IS_ENABLED(CONFIG_PG_WCOM_UBOOT_BOOTPACKAGE) && \ - !CONFIG_IS_ENABLED(PG_WCOM_UBOOT_UPDATE)) || \ + !IS_ENABLED(CONFIG_PG_WCOM_UBOOT_UPDATE)) || \ (IS_ENABLED(CONFIG_PG_WCOM_UBOOT_BOOTPACKAGE) && \ - CONFIG_IS_ENABLED(PG_WCOM_UBOOT_UPDATE))) + IS_ENABLED(CONFIG_PG_WCOM_UBOOT_UPDATE))) #error "It has to be either bootpackage or update u-boot image!" #endif void check_for_uboot_update(void) -- 2.39.1.456.gfc5497dd1b-goog