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 BA2EAC61DA4 for ; Wed, 22 Feb 2023 16:41:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A687585B46; Wed, 22 Feb 2023 17:36:53 +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="QjybCoAT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6337385AEA; Wed, 22 Feb 2023 17:35:53 +0100 (CET) Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (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 0913985AF6 for ; Wed, 22 Feb 2023 17:35:14 +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-xd32.google.com with SMTP id d11so3371315iow.0 for ; Wed, 22 Feb 2023 08:35: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=VE2SdiNQDfO3GTWgo8gyfhW5LtX4Tr6vzFgiDKW9ago=; b=QjybCoAT984XKFh/VVRYiwnyZ+Zuwx/2Wh1ZqzbDgJGWLLpBYkpZY/sbVkLiDR7L6m GBHBzzC24Nbd2MD8nEL7UjXY2GvGt7zc4djIOui0C8+0SLNzLyAwUutrZdf/13NKKd77 0/GScBFAWO3ATc2y40xjJFr6BSzXBlTzPcIGk= 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=VE2SdiNQDfO3GTWgo8gyfhW5LtX4Tr6vzFgiDKW9ago=; b=AwqQ2OP88nEdlIWhhq3qMuCykrP8doHvlk/AQypF6oR96oM8fTZYSTpka83IfFi1nm T7gL8N2cpy9eCns0FGpHMIJl8y25dO6vgi5Q/2cgkUD4to3sKcxSL+/GX9TTVHYMfLTs pJNTsTD4uxK34AnSp7UadBUykAA7c2x4HaALGbVkA/MpFuEGRuxzhZjdXwWIHsRHyV61 E1FbTAn2q99Q0IBVn+NFuDHvwTLPbeFpp6Rj9dGnrhaC7+YQgObXhGqLI4DuuMM19cAa AHSLN2QDOuDBpiG1WKkjITD3aWA6MtF9NMAOjY+e8HzHtFbzIXLpJTfqQD0izT6kytzm Aogg== X-Gm-Message-State: AO0yUKU4OahP1J5a/JQRMriRx1K6OD+3Ygmrj6WzPKwZXouWspf4IukW 5AlTLUfuzUUEh7kdu4TTukD5jxTxLJ8BFZHj X-Google-Smtp-Source: AK7set8s7JDyjPvIpfZxNPyTiRHg5e9lZPRs2y0Mbo1ibJ7DBoFRd4RnvB399Fwboc54g5yfB2Sp7g== X-Received: by 2002:a6b:d602:0:b0:74c:97ee:3e56 with SMTP id w2-20020a6bd602000000b0074c97ee3e56mr1321075ioa.19.1677083707580; Wed, 22 Feb 2023 08:35:07 -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 z26-20020a056602005a00b00716eb44b97esm2164541ioz.27.2023.02.22.08.35.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 08:35:07 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , AKASHI Takahiro , Brandon Maier , Heinrich Schuchardt , Ilias Apalodimas , Kautuk Consul , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Philippe Reynes , Rasmus Villemoes , Stefan Roese , Sughosh Ganu Subject: [PATCH v5 30/44] lib: Add an SPL config for LIB_UUID Date: Wed, 22 Feb 2023 09:34:11 -0700 Message-Id: <20230222163425.2043934-31-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.637.g21b0678d19-goog In-Reply-To: <20230222163425.2043934-1-sjg@chromium.org> References: <20230222163425.2043934-1-sjg@chromium.org> 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 is selected by PARTITION_UUIDS which has a separate option for SPL. Add an SPL option for LIB_UUID also, so that we can keep them consistent. Also add one for PARTITION_TYPE_GUID to avoid a build error in part_efi.c which wants to call a uuid function in SPL. Signed-off-by: Simon Glass --- (no changes since v1) disk/Kconfig | 8 ++++++++ lib/Kconfig | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/disk/Kconfig b/disk/Kconfig index c9b9dbaf1a6..817b7c8c76d 100644 --- a/disk/Kconfig +++ b/disk/Kconfig @@ -149,6 +149,7 @@ config SPL_PARTITION_UUIDS bool "Enable support of UUID for partition in SPL" depends on SPL_PARTITIONS default y if SPL_EFI_PARTITION + select SPL_LIB_UUID config PARTITION_TYPE_GUID bool "Enable support of GUID for partition type" @@ -157,4 +158,11 @@ config PARTITION_TYPE_GUID Activate the configuration of GUID type for EFI partition +config SPL_PARTITION_TYPE_GUID + bool "Enable support of GUID for partition type (SPL)" + depends on SPL_EFI_PARTITION + help + Activate the configuration of GUID type + for EFI partition + endmenu diff --git a/lib/Kconfig b/lib/Kconfig index 08318843231..4278b240554 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -74,6 +74,10 @@ config HAVE_PRIVATE_LIBGCC config LIB_UUID bool +config SPL_LIB_UUID + depends on SPL + bool + config SEMIHOSTING bool "Support semihosting" depends on ARM || RISCV -- 2.39.2.637.g21b0678d19-goog