From patchwork Sun Feb 5 22:40:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1737915 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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=) Authentication-Results: legolas.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=flBWLV4D; 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P94rj3kKdz23r4 for ; Mon, 6 Feb 2023 10:11:17 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2A37885B5D; Mon, 6 Feb 2023 00:03:36 +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="flBWLV4D"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2026085AC5; Sun, 5 Feb 2023 23:54:10 +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.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) (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 D528F85B2A for ; Sun, 5 Feb 2023 23:44:34 +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-il1-x131.google.com with SMTP id w13so4117302ilv.3 for ; Sun, 05 Feb 2023 14:44:34 -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=waSufaCNK264ZY7p7FOMF3BrdPvSGoGxBML0F0vq3tk=; b=flBWLV4D95IKGpIcvD9XO2FdLEXfhEi8D6aH5WI6hjxH52c2e7rGpulyEMZZDQDPXI b7GcSu9flODRTYMAELyrml6LJYTHJjdf3oX/KXX4pEnlm5EpGRvIVaMwZut6JxZM17Gt KUR42G/R5uaPQXQ/j8gl/RRvQ179cDVaFavws= 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=waSufaCNK264ZY7p7FOMF3BrdPvSGoGxBML0F0vq3tk=; b=Gyqh6f167P1vEr2X2KeRa1N8gov5Y310rNX5dEymzI9h3Ggdl86fNJCXy96SCaepkI ZikxisgVp5zq+1N+Z47sZle0LeKnVqBAk9RpqpYuCT89d/0ihPeGcdgdKB+a/CCJSAbY BpRapy/XAdWk2+IqejLNq45mqQnWYDOf1Pv70yNFmzT9+SPYtjo/CQV7H75Pd0FLxB8X L/e9VSWNaQNlqDYe8ivbDAsU1hB5XKTnSp41TXcR1DrG7WmgIPbSIzgBDCuZC3CQETZZ TgNKz0U3pcu5lFHFHqUDhZ8TbPo7xGGIRa5x2UZ7Q00FtxJHRM0QVQ8+DZsSijIxYRRS jehA== X-Gm-Message-State: AO0yUKWLE+2y69CY1GVQrKPuO8nVevvLMLkTn+VFru/mLrZ0g2i/UyRy I2Ma1a55Xc7lSQCpMCIXqH/ruY/rTDc39Tjm X-Google-Smtp-Source: AK7set8W2rb7wa/3o/lsaRAF1Xf6bruCOVGX3Yn3tqFvnZC+DcjfUN3MzX+NiN0kVeYmVWEd6Herrw== X-Received: by 2002:a05:6e02:1b02:b0:313:b550:11a3 with SMTP id i2-20020a056e021b0200b00313b55011a3mr5397302ilv.21.1675637019010; Sun, 05 Feb 2023 14:43:39 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id z22-20020a05663803b600b003b33e77e5b2sm1503513jap.110.2023.02.05.14.43.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:43:38 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 139/169] Correct SPL use of SL28CPLD Date: Sun, 5 Feb 2023 15:40:48 -0700 Message-Id: <20230205224118.233425-140-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230205224118.233425-63-sjg@chromium.org> References: <20230205224118.233425-63-sjg@chromium.org> MIME-Version: 1.0 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 1 usage of this option to the non-SPL form, since there is no SPL_SL28CPLD defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/kontron/sl28/sl28.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/kontron/sl28/sl28.c b/board/kontron/sl28/sl28.c index 4ad6b323476..257923685a5 100644 --- a/board/kontron/sl28/sl28.c +++ b/board/kontron/sl28/sl28.c @@ -109,7 +109,7 @@ static void print_cpld_version(void) int checkboard(void) { printf("EL: %d\n", current_el()); - if (CONFIG_IS_ENABLED(SL28CPLD)) + if (IS_ENABLED(CONFIG_SL28CPLD)) print_cpld_version(); return 0;