From patchwork Sun Feb 12 23:15:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1741226 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=nQ8NC06u; 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 4PFNwm5f7gz23qt for ; Mon, 13 Feb 2023 10:29:44 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ED78D8589E; Mon, 13 Feb 2023 00:24:43 +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="nQ8NC06u"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D3EEE85935; Mon, 13 Feb 2023 00:22:18 +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-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (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 D7E7C8579B for ; Mon, 13 Feb 2023 00:18:08 +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-xd2b.google.com with SMTP id bl9so3944351iob.7 for ; Sun, 12 Feb 2023 15:18:08 -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=/wfffCdF28L89h+YqXgMePLDx3PgVx0mYMqZKNet4MY=; b=nQ8NC06uOhSBL/d4zDWjCXS8JYdNXMm8hi0GOpC0xCGV7jbi+tNOp9FRO2Zf8pKDnM IAZWRBwEM3HHKRdYON1RmR/YcvcUoHjJF06TyYn92am0gHNa7HwcPNmYMCRHaQPDV5wv lN9UPu76rRD9PhVtwaKpKNdqtCZrTQQpe6PI0= 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=/wfffCdF28L89h+YqXgMePLDx3PgVx0mYMqZKNet4MY=; b=PexkTy8tJkeprXYu7fNjDEy3+J9CWS/BsZrZDHfrZ29X641nXXs+BX8l5PYkHWrv/F MKKE/sFIAkKgcz3Ws0gfj6Jd0gRE7Opk9cCA4QoVdCnXr/Hg2p2Nu1pz+snxmM4rdkaD SK6TdsHRsPqygWk611FUrvoMKqLSUg1ju34SoA1y8AyljIrZQewM8BFGLPkAmVg2CTpx lSnwPkE1gDKizD7MOdyI4ipCkL/Arv4ntmw3/+Q7hN5SmafZexX5qzATdsh3u0KKGnXa BLlgiycKlgvgcSDOGoiPV27Bp4eIfMrbZBipNw5L7B+0HFrQbffC8t1VLHhNnKqfwIj/ WMBg== X-Gm-Message-State: AO0yUKWweAVz9kV5/000zhm/fUKBACBpSV0i2LkUbsXozQ6NKr+rcaFP sJxygDwt4whEjuEz3BrsCLoXDz6ztWRI6Sx7 X-Google-Smtp-Source: AK7set+gzTpYcKOgnPvt3PQF5yZtCcip8Im/TqLvCKjV9/+UM2rYT/O53nSeLbkl/uIB48Z7EdFkOw== X-Received: by 2002:a5d:93c2:0:b0:735:5bdc:7a73 with SMTP id j2-20020a5d93c2000000b007355bdc7a73mr17796425ioo.7.1676243855203; Sun, 12 Feb 2023 15:17:35 -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 n16-20020a6b8b10000000b006dfbd35e995sm3627849iod.21.2023.02.12.15.17.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Feb 2023 15:17:34 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v3 26/95] lib: Add a Kconfig for SPL_FSP_VERSION2 Date: Sun, 12 Feb 2023 16:15:29 -0700 Message-Id: <20230212231638.1134219-27-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.581.gbfd45094c4-goog In-Reply-To: <20230212231638.1134219-1-sjg@chromium.org> References: <20230212231638.1134219-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 is implicitly used in the source and seems useful, so add it. Signed-off-by: Simon Glass --- Changes in v3: - Add new patch with a Kconfig for SPL_FSP_VERSION2 arch/x86/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 07be5cd05ec..cede5160480 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -396,12 +396,19 @@ config FSP_VERSION1 config FSP_VERSION2 bool "FSP version 2.x" select DM_EVENT + select SPL_FSP_VERSION2 help This covers versions 2.0 and 2.1. See here for details: https://github.com/IntelFsp/fsp/wiki endchoice +config SPL_FSP_VERSION2 + bool # FSP version 2.x (SPL) + help + This covers versions 2.0 and 2.1. See here for details: + https://github.com/IntelFsp/fsp/wiki + config FSP_FILE string "Firmware Support Package binary filename" depends on FSP_VERSION1