From patchwork Wed Oct 2 14:48:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 832221 Delivered-To: patch@linaro.org Received: by 2002:a5d:43d2:0:b0:367:895a:4699 with SMTP id v18csp803072wrr; Wed, 2 Oct 2024 07:49:11 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXoObMagF02GLuareNEi7vMvNeoezSbpN+ocUGAPupzIYIF41hwSoVLxLhxa+lQ3EvQ3Thp1g==@linaro.org X-Google-Smtp-Source: AGHT+IFGo6rXk8r/vfoyBJ0Rag3mtLOgWfacNFsXzsTT1fKbF9QmSesdWspb6Sev4rvgtv4VavK9 X-Received: by 2002:a05:6602:14d0:b0:82a:4c58:e1e0 with SMTP id ca18e2360f4ac-834d84896e3mr286951939f.12.1727880551728; Wed, 02 Oct 2024 07:49:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727880551; cv=none; d=google.com; s=arc-20240605; b=Jir53Jw1QHWUrExDe/HcUwbI+XfWThxStD/KHh+mI6qYoLfdVyKEKKFT+R+6510Z/z aWA5yp/WFhcXUARxho5IBpRoSdk4F6wjtarBDQUzklB0DEVy+4KZK7J9MAGxRr7oHiRy KIZqWQ62R006E+65vaWRtBUWcIKiWDTLJFXqqRAsxSYcBfX8kzAokJQDhW4vRTm+cKPY pSgKcvjrMLkLDEL9gQQ4Gd9SgsUl+oOHFtWhDMN3WB9e6kQzUrcda/N//4Z5Hh6RhBHL ACUG04OK7lGhtePLv1++eUB3A1cTUscEQEtfsGgjFfyONx9mg5/goF055UgGXxkQO5sn CFkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=W9/Q2fj3msO80Wgbd3JMg0DS4YPsnU9ve3XG56N/5iM=; fh=b3HfVw2z/zSGcxi3xO/vfgH6JA8+1e/L3+9ssof5TRE=; b=H8nV4LEQw70ibduLuuM9lrS4zhah9dSEqUgbE+2Y7TUeHcPFQ1MeT0jdAN7iwlDuhy iAU8aA3AcFbPc5Gi3TRxZUwpJ0GkPGx9cYQaGsDYvEvFJ7GWnuIm1/Oiy/JXYE9z/ISa N5Q6hRrSyCp5czg9D8qSlOC2QzxInkgiSYVawanuRfYGkEeoPO/i3iSsZDkAjQpQi7Ko 4/Zijs35Mq4ERYyYS3Xx4sT+u2uwl1ZMlac+8PDroLHaEVgWY79fuqOblwahkii+3023 mzT7Rf86iRxTGCDFt4PgaNdjTOooRkjW8NjvRnMksGCVvvfjxOLIn1kdlDMo+EV+zrfN LDog==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GXigSzwp; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id ca18e2360f4ac-834936c62d4si577005739f.55.2024.10.02.07.49.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Oct 2024 07:49:11 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GXigSzwp; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B426D890BD; Wed, 2 Oct 2024 16:49:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="GXigSzwp"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5E43B88FE7; Wed, 2 Oct 2024 16:49:08 +0200 (CEST) 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,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (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 7E604890BD for ; Wed, 2 Oct 2024 16:49:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jerome.forissier@linaro.org Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-42cb6f3a5bcso83477775e9.2 for ; Wed, 02 Oct 2024 07:49:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727880546; x=1728485346; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=W9/Q2fj3msO80Wgbd3JMg0DS4YPsnU9ve3XG56N/5iM=; b=GXigSzwpGuCAZnlj+dNX5L5+Y+bliGQfOGT2O7kah9rHHRlqQ2JQl+zq08f0+Tql1G ntNv5eeelvvqWxzmfCGI0wgt99M5583TH8JakMuOVZ72XHWa6IxXax4c8fPnHLFrrnUx Pj3eLPQCbAgPuD1igM9uAH3jweEAbJw0VFhM3HZYWS0zqeAm79wRI5asdkeIO6XaSqxm CWiyAAoN2n4sVEeCsmvj0TrEaiPsmVUNhhq9s98xKJVoMkYFsPDXkUop2jSPKDZ4d8V4 hNkM45TugcXtlo/sy1hBhuCivusbHtkVwvnW2H6PxJ+tOMvq8T0uQwuWQrVknxvOfeYo zWgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727880546; x=1728485346; 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=W9/Q2fj3msO80Wgbd3JMg0DS4YPsnU9ve3XG56N/5iM=; b=OWwUMZ0tE58m/Q8Uawe3GfrCoEYiCQ0WkgVIKGNwrwLzq7vyBDoHM20L1FX0oZq/He +ku7qb3ebsfnbPeI9GopJUHZ11S2p/MvMaMVpfydQax7FCE86Fqh4NJNcUuGHoz8M9ay 3S2BMMKK9/151jpztutCRx12XQN4R9343VMr9uZtEvGiaB1uLoyZHyqAxeLK79XYk7le MIfaijkb4xQY9WOe6w5MmPc58gIrkhjUAbR/PZN6Am2zXYFyGPS4i0H1yQNPfEj7nWiq b/90t+pbM+Pqb3QaTDqDJhoPqoSSpEQv6zG0NoKqFr+L93ZS3vPjTHm6lRrxaZfv+fqi IBmA== X-Gm-Message-State: AOJu0Ywk4G2EMlKA98mHukeLqAFnf7BR7VdZj67Jt1MTFRB/bP2Ef5Mr V9BylFvtnBJ+7p8OoBH2i7dKx+o7au8iTSrhXP7mIG/aRfOC56U1XPbXbiEvRhPRg2gE7o2pmOC 46DHfsQ== X-Received: by 2002:a05:600c:4751:b0:42c:bbd5:727b with SMTP id 5b1f17b1804b1-42f777f07b2mr35162175e9.25.1727880545647; Wed, 02 Oct 2024 07:49:05 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:d322:a747:4ce1:c692]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42f7a02f262sm20338605e9.46.2024.10.02.07.49.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Oct 2024 07:49:05 -0700 (PDT) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Jerome Forissier , Tom Rini , Simon Glass , Stefan Roese , Mattijs Korpershoek , Rasmus Villemoes , Joshua Watt , Marek Vasut , Jiaxun Yang Subject: [PATCH] Make AVB_VERIFY depend on FASTBOOT Date: Wed, 2 Oct 2024 16:48:45 +0200 Message-Id: <20241002144845.1439316-1-jerome.forissier@linaro.org> X-Mailer: git-send-email 2.40.1 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.8 at phobos.denx.de X-Virus-Status: Clean AVB_BUF_ADDR, which is under "if AVB_VERIFY", defaults to FASTBOOT_BUF_ADDR. Therefore AVB_VERIFY should depend on FASTBOOT. Signed-off-by: Jerome Forissier Reviewed-by: Mattijs Korpershoek --- common/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/Kconfig b/common/Kconfig index 957de0c5c02..c011ab6e820 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -850,6 +850,7 @@ config AVB_VERIFY depends on LIBAVB depends on MMC depends on PARTITION_UUIDS + depends on FASTBOOT help This option enables compilation of bootloader-dependent operations, used by Android Verified Boot 2.0 library (libavb). Includes: