From patchwork Mon Jan 30 14:41:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1734173 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=85.214.62.61; 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=IRKTYkd6; 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P5Blr3YsYz23hg for ; Tue, 31 Jan 2023 02:23:36 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9F399859C8; Mon, 30 Jan 2023 16:19: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=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="IRKTYkd6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3826D85637; Mon, 30 Jan 2023 16:04:28 +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-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) (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 8987E85679 for ; Mon, 30 Jan 2023 15:55:33 +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-x136.google.com with SMTP id w13so1109506ilv.3 for ; Mon, 30 Jan 2023 06:55:30 -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=hQ9+ucXDt5wGffcElxuCf+nCKHvgH8CAXdTumnH1Zhs=; b=IRKTYkd69P9edk/LNqDNAo0SK2cCZGv2EMPNxQv7xtFcW+jd6NRmeWn+QTHI6UCfVO DXeDjJRYCu7yK44Y1usyarJWFeYGPCgOkUcMtfWtHM1KKZ/0OWYAelH3WK9tEzebB4/+ QE4oyqU1N93dytX9l68USbYIOg/P43/3/h6q0= 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=hQ9+ucXDt5wGffcElxuCf+nCKHvgH8CAXdTumnH1Zhs=; b=Ghp2K0z8DytxR04y+c3JqKsGVFB05y63poFib0/0n8ESxdG0CO9rD7ZFvRVcOPnveW LftahlzarVliX8wb8DPnpGrnyQ/IjDY6LBfc4Wm0jT8z+F4wvLEERujLbAaRS2vUBslj cCp/8U6bxn2xVlI2ysp3s8sDKXEkB6vQ+9zKhV6T5RP0nIBaikWVpBBRJA606Zpckp3r tPffusnNzAo7/5Zb/3pTsXaYcppGQjFi2cMbT3qvg+649xsH9Ubd+CCJ+LeklcrUQvW8 9HVpvDgTMHNuUfM9VPXEjmnROSydq7fTMejfWw0R54mSwAT6bT4MEkLEQQ5E/HZwnI0v oavg== X-Gm-Message-State: AO0yUKVZtDBWJ6v2rCIn86iPU0pYWgD7+ZADwI+z1RMxPloHM+TLIRR3 giHVzSKBAOcnF9oHAC/T96MDKuN5wc677LP/ X-Google-Smtp-Source: AK7set95AAqVHeWih+o44taG80+Izo4PQry9novZqSIOtyICgSmf7cKQdwaQDYu2OOZoaAO04C1SAw== X-Received: by 2002:a05:6e02:20c2:b0:30d:771c:db3e with SMTP id 2-20020a056e0220c200b0030d771cdb3emr7187743ilq.9.1675090522594; Mon, 30 Jan 2023 06:55:22 -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 g18-20020a926b12000000b0030bfdb6ef60sm4008830ilc.58.2023.01.30.06.55.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 06:55:22 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Patrice Chotard , Patrick Delaunay , uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH 059/171] Correct SPL use of CMD_STBOARD Date: Mon, 30 Jan 2023 07:41:32 -0700 Message-Id: <20230130144324.206208-60-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog In-Reply-To: <20230130144324.206208-1-sjg@chromium.org> References: <20230130144324.206208-1-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_CMD_STBOARD defined in Kconfig Signed-off-by: Simon Glass --- board/st/stm32mp1/stm32mp1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index 4536c1c673c..914f900ac86 100644 --- a/board/st/stm32mp1/stm32mp1.c +++ b/board/st/stm32mp1/stm32mp1.c @@ -129,7 +129,7 @@ int checkboard(void) fdt_compat && fdt_compat_len ? fdt_compat : ""); /* display the STMicroelectronics board identification */ - if (CONFIG_IS_ENABLED(CMD_STBOARD)) { + if (IS_ENABLED(CONFIG_CMD_STBOARD)) { ret = uclass_get_device_by_driver(UCLASS_MISC, DM_DRIVER_GET(stm32mp_bsec), &dev);