From mboxrd@z Thu Jan 1 00:00:00 1970 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 64810C636CD for ; Mon, 6 Feb 2023 00:56:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A1D5A85AF1; Mon, 6 Feb 2023 01:56:06 +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="MX5iNgP7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1CA6985A9E; Mon, 6 Feb 2023 01:56:04 +0100 (CET) Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (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 8870A856F9 for ; Mon, 6 Feb 2023 01:56:00 +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-xd2c.google.com with SMTP id e2so3945526iot.11 for ; Sun, 05 Feb 2023 16:56:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7tN51yq4kSK69w+PDA+tcmRfNS9iI9odhgzrb5ZbXBs=; b=MX5iNgP71caZgyCZWKH67PTxta8lbi6AuIoGdpZG1pwVy7eZemJ5ugoPvF06TSBUUC hbPMuugmf5Z8KRc7r3Bx0K2+r+tHyx++sJ8L9gYgiwREwW2qtsybukTc7g+jpm7vrIi9 a7Ilm8l4F0Jh5pFaqptGO/YgV/2ySRvPHuR9I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7tN51yq4kSK69w+PDA+tcmRfNS9iI9odhgzrb5ZbXBs=; b=i3S+sPoEUjDho4V0cVtaU3lgBdLmFuanmvs+u1h4Ahl3bHo+PkOz/U1GGsDISRXQOB GfyixNQtcgkS7/y/gh3NrBoXd7wKJDSob+4Z7xp/6m7IspRReF1xK/YZs8M22KhVQ6ku ZhLHxhfNvgydc64lz+G4J2RNr8tiglf9X73ztH7ESY7AZvzZMQE01kLWJA3HSpNJftWd tO0ySodtlNuVTbAbKwdAk03gY73XafeigTTAqJL9Nu6ZJCmrryazcjUf0a+5wkTKEtZO ETL3Pi5Ivs+Aur+RI3Y2U0q3rrm1ZGZsqlYlcTKodAEoXiul+fP89ulmmq0iJCEZTdBm OSVw== X-Gm-Message-State: AO0yUKX45XC80PgD1NKKZ1WxBRi1eUwimT9MLaH/0YqSaOWUvyjkftMq om5xMCE0CRnz106FagdwrHBAZe+TImmq/jZ1 X-Google-Smtp-Source: AK7set+9Ock74QU3otXNrdP4AgJU79y8XLD7oog53Je5iLqyOu1Non/hLAmUS+XdTy5A69lKTiImww== X-Received: by 2002:a5e:851a:0:b0:722:19dc:deaa with SMTP id i26-20020a5e851a000000b0072219dcdeaamr11116546ioj.10.1675644959181; Sun, 05 Feb 2023 16:55:59 -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 b22-20020a6bb216000000b006e2f42a30c2sm2734703iof.35.2023.02.05.16.55.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 16:55:58 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 026/169] Correct SPL use of ARCH_VERSAL Date: Sun, 5 Feb 2023 17:53:13 -0700 Message-Id: <20230206005537.254541-27-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog 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 1 usage of this option to the non-SPL form, since there is no SPL_ARCH_VERSAL defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/spi/cadence_qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/cadence_qspi.c b/drivers/spi/cadence_qspi.c index 328dfb0a388..3ce5f8fb8d8 100644 --- a/drivers/spi/cadence_qspi.c +++ b/drivers/spi/cadence_qspi.c @@ -249,7 +249,7 @@ static int cadence_spi_probe(struct udevice *bus) priv->wr_delay = 50 * DIV_ROUND_UP(NSEC_PER_SEC, priv->ref_clk_hz); - if (CONFIG_IS_ENABLED(ARCH_VERSAL)) { + if (IS_ENABLED(CONFIG_ARCH_VERSAL)) { /* Versal platform uses spi calibration to set read delay */ if (priv->read_delay >= 0) priv->read_delay = -1; -- 2.39.1.519.gcb327c4b5f-goog