From patchwork Thu Sep 19 17:28:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 1164769 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="z6W4K5gW"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46Z3mG4ycFz9s4Y for ; Fri, 20 Sep 2019 03:31:10 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 46C79C21E1D; Thu, 19 Sep 2019 17:30:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A7643C21E1A; Thu, 19 Sep 2019 17:29:37 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 60BCDC21E1A; Thu, 19 Sep 2019 17:29:12 +0000 (UTC) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by lists.denx.de (Postfix) with ESMTPS id 4D018C21D8E for ; Thu, 19 Sep 2019 17:29:07 +0000 (UTC) Received: by mail-pg1-f193.google.com with SMTP id a3so2246794pgm.13 for ; Thu, 19 Sep 2019 10:29:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=B69e85YxAyB60AfxOIGF2IMxTSoV/H8dclHtp0L+BlM=; b=z6W4K5gWZUwtuF2LZ4VPzhGTHl5s+C5UKpUIiK97UdlA3tVnJKzOjIU44YxcDWJndg R/xrI/YHWLcyq+XRAX3WDkWIblApIzJFyZHrwkCbFnfsAP7rYEkUpCbcBU+MxwsFRnMe SGPBYflGgmqzp/sDm1SGKNtmb687bFwxf+9CuXYPK5QFVUxID7pY6PPcARcNo7+B1I28 wanYeWU/McidWqNTHnkdof6hWEHOSNeTw1Qg5xKVPULtafTD6Fw0TRnBmfsGRMx0Au7R w1qDHO5L50iz/jZcYJh8feee8AIXtqq03PbPHZWvidsytgv5M54AEwehLPzcg6Ce45EP Hd4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=B69e85YxAyB60AfxOIGF2IMxTSoV/H8dclHtp0L+BlM=; b=dnkpQVlTDDiB68gGunQXP9GQ/JkNbmocCT3oH/xjcJ2AW1el1SN/3df9FWurMpsD/+ A0nPuHZCZqCluXIx742YO53tMIVJC6WjqaomtZrNy2WaFKIJHAsLtAEYc040ahomzKbF 2hrP2mdhGOH0K5ujt3FYQg08N+ThgZdkZKqdYJ3szvesPY1bOfDDRHwJcUauyxqadKbV V1Ez/t3x3W4rrey8O8usirL5RHkkMV6kJkRxjuyB8h7fJ1xeU3+Npv19jc6gB+1nMafO gAQ2PVjZIg59AE7bOB7Tln7g8RIbeGbrF/RQnfZoaVmjpa5zB3OzrQ/GdhEo8umtDvT9 8WrA== X-Gm-Message-State: APjAAAWoP6I6LCwxom6caaxxJoYQAVMusRLRkNcb9vfKFJBDyvysi9zj +d/GQOaTjCrkBqJ97Al+ev+0RCFTJ18= X-Google-Smtp-Source: APXvYqxp3o55zNnIUDPjjlbhQaUCtFvn2rrkDmqz5wtIKx1uZiYzAgpPUqmogzm5N2fyMcV5v/YkjQ== X-Received: by 2002:aa7:9f43:: with SMTP id h3mr11796670pfr.215.1568914145312; Thu, 19 Sep 2019 10:29:05 -0700 (PDT) Received: from localhost ([2001:67c:2e5c:2011:2e0:4cff:fe68:2882]) by smtp.gmail.com with ESMTPSA id q88sm6868264pjq.9.2019.09.19.10.29.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Sep 2019 10:29:04 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Thu, 19 Sep 2019 20:28:20 +0300 Message-Id: <20190919172822.8255-6-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190919172822.8255-1-semen.protsenko@linaro.org> References: <20190919172822.8255-1-semen.protsenko@linaro.org> MIME-Version: 1.0 Cc: Alex Deymo , Eugeniu Rosca , Praneeth Bajjuri , Mykhailo Sopiha Subject: [U-Boot] [PATCH 5/7] env: ti: boot: Respect slot_suffix in AVB commands X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Signed-off-by: Sam Protsenko --- include/environment/ti/boot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h index 684a744f31..da99215fbd 100644 --- a/include/environment/ti/boot.h +++ b/include/environment/ti/boot.h @@ -63,7 +63,7 @@ "else " \ "echo AVB verification failed.;" \ "exit; fi;" -#define AVB_VERIFY_CMD "avb_verify=avb init 1; avb verify;\0" +#define AVB_VERIFY_CMD "avb_verify=avb init 1; avb verify $slot_suffix;\0" #else #define AVB_VERIFY_CHECK "" #define AVB_VERIFY_CMD ""