From patchwork Sun Feb 5 22:40:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1737856 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=Q/DYjZoa; 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 4P94b23sXFz23r4 for ; Mon, 6 Feb 2023 09:59:26 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5932A85A6A; Sun, 5 Feb 2023 23:51: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="Q/DYjZoa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8914785A95; Sun, 5 Feb 2023 23:43:09 +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-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) (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 0253F85AB0 for ; Sun, 5 Feb 2023 23:42:49 +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-x135.google.com with SMTP id k17so1364134ilq.12 for ; Sun, 05 Feb 2023 14:42:49 -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=nolGHPNzrzWwWcECrY0yQg2ddf80u1DqHq/L196SZjg=; b=Q/DYjZoan+oavDuCTVMbs15ZFnVqGPIB8Za4Rp2nNZVvfDNgqFjM7YmdvSrSwoZo53 +vdERJz05ZF0+yLTMEfNfw3ps4emxh2djTKxH6aXSJmJI/4ZftxdjiK0HXrSymXjegEo 4PS28pV0aTCz878m8pSIQXujTadR8YLQZC4i0= 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=nolGHPNzrzWwWcECrY0yQg2ddf80u1DqHq/L196SZjg=; b=YhWH5KeFKY4BAxcmMhIO3UEHY0G4WORW+oX8I8xAzkKPrKnD7mtQ+/EYCTBG8N2sn3 anAVs5k4QeOxPBdfavfvp3MA548I0qt7gon+ZTQhhjR4F1sEDyNgzPBlpxQPiFtJZdTX CmgKpXS0TmT99L/vX2PYtR4zKFXvjql9i6TPEQBaM3l4JisklivEWoSkaEY1D5MXs2Dp 7SBemUCB6nHFHZhRcCcmFDXu2AfvH0E38wgcglPh/2TufDIqbrPLvLOopMrf/2rqzqZr 0N21K34Hgrx45URS+xKKkrRaPtspYOuDAgg7YpbxvYw00FJnL4XFEcj44B/X0IvJVwVO 3Iww== X-Gm-Message-State: AO0yUKW+f2GjZDODAFTK6wRUTdv8b/hkDVKbVz4bxeMybssy8P200GSo 7ht7v0U/PXaY3oY43gqUTw4fD9NA9enS2ixd X-Google-Smtp-Source: AK7set+NFY6QIbgGsXPUmheFPjIenCwZnLe+czXEWJmHq9gfPs6X4tV2u+u6MLEtht1YWqEj8H68Fg== X-Received: by 2002:a05:6e02:1c42:b0:313:bab3:2f3a with SMTP id d2-20020a056e021c4200b00313bab32f3amr4910163ilg.22.1675636969040; Sun, 05 Feb 2023 14:42:49 -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.42.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:42:48 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 093/169] Correct SPL use of FSP_VERSION2 Date: Sun, 5 Feb 2023 15:40:02 -0700 Message-Id: <20230205224118.233425-94-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_FSP_VERSION2 defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/lib/fsp/fsp_dram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/lib/fsp/fsp_dram.c b/arch/x86/lib/fsp/fsp_dram.c index cc889a688d8..3805a011dda 100644 --- a/arch/x86/lib/fsp/fsp_dram.c +++ b/arch/x86/lib/fsp/fsp_dram.c @@ -62,7 +62,7 @@ int dram_init_banksize(void) * DRAM range in MTRR otherwise the boot process goes very slowly, * which was observed on Chromebook Coral with FSP2. */ - update_mtrr = CONFIG_IS_ENABLED(FSP_VERSION2); + update_mtrr = IS_ENABLED(CONFIG_FSP_VERSION2); if (!ll_boot_init()) { gd->bd->bi_dram[0].start = 0;