From patchwork Thu Jul 12 07:34:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 141791 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1189701ljj; Thu, 12 Jul 2018 00:34:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeYKOa8X6UKfYN7z0Ae5fdA9cgRkO+ph+1PnLipTktcT78fk67Z5SqEgFoJdzwwN168Jovp X-Received: by 2002:aa7:d786:: with SMTP id s6-v6mr1347430edq.228.1531380870842; Thu, 12 Jul 2018 00:34:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531380870; cv=none; d=google.com; s=arc-20160816; b=PUuV1pJZ0xBepjNTvatM+Z/kVVikzdaOpRDBZBSPizgbhfgDfv1YjmoIw225SBI+Yc 5Hc5DWFQnB4GvEX0/xkWr4lBo/AKKMARL+E2wqhs0Ia59rXhy/94pSbfd3ZD+y0dcQbE 5xQ/ri/OCE6qjfRPtGr7ONktsiuS04MP1efd/Pe/cnXXSe2I5RR1PQIsxROFuZT4jyln uxOKADY//9+IMdxLnViq0hrn0k8QOwXDuaPN5coDSZBaUzTZtIF0gFviIrLcde5v+hrD +K5KzOCcZreqW82sAG92d+25CKuoN1IC4hcNNFScoj69mNfLCE3zyG2cKkMch+9v8rZm 741w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=PbtAqR27pHhh3xYHFRWnecMdTrysrByAGyNbWs2C/XQ=; b=KP7HO4kynZNLkT0fw2KTsXyOPY0PoZoYhDbLxKSUDWocjMhwqUGuZCZHt+hplpv1KF le4ZLz5Ar9F+kxE3bm7ZbYQ1RTWznwRebeMWLEwrTN1ToL3W2TBaYxf70lkV/uWhg6Ex 2tIh64ZBH0a2u4SgSBWdGbuGc0ogyoEbm8D0QNuWIbyFZcJSyIGb25/NSRfPWzFXdiV6 UR6cn1izkxy8C8W3bpxzjjGadV2TvtDDV6w6s5QXKCqifIaQ9SFFdfSEG+Spr9Wuiu/c z9ZZ8/onVwT9czPOQfdM7W9V/HVeAFeJmIehDQt2hkhGQMwYS/3wJeoA5cV1ybw0sKUB V3lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=W6axL73i; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id l59-v6si1356863edl.49.2018.07.12.00.34.30; Thu, 12 Jul 2018 00:34:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=W6axL73i; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 621D2C21F76; Thu, 12 Jul 2018 07:34:28 +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_H2, 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 BBFF7C21E77; Thu, 12 Jul 2018 07:34:27 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 85AD1C21E77; Thu, 12 Jul 2018 07:34:26 +0000 (UTC) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by lists.denx.de (Postfix) with ESMTPS id 31FE6C21E50 for ; Thu, 12 Jul 2018 07:34:26 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id m1-v6so7868467wrg.5 for ; Thu, 12 Jul 2018 00:34:26 -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; bh=P/FCa3+SBWKTMSyuzi6GAYxaYmVgZgeDiRWMzBxG7Rg=; b=W6axL73iSUG9yMwjNLU8OgT4yWf1lsHH/oeGDKpbLjJ++rpB7LDMDr7M3Y0AHFsr58 PR0oWUVC/joy2hrAk8ScBjkgmH4zEDQGhVq/k4zzZZjp8AmQ353gb/gViHNxMFbeBlxG BBaozYMw9/F9lN6B1ln+Xa5oekNlfLy2U2iks= 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; bh=P/FCa3+SBWKTMSyuzi6GAYxaYmVgZgeDiRWMzBxG7Rg=; b=ovrPhGp1OlkMW6arNxvohIDAx0CF1LwDDiSog1jB/0dXI5YlHx1rhc4ZaYuNWhQEWI oA2PAcGZT7mccOaFRbaCJ4X7dKyZxVYImFBgL+JKWHiBdepwthDIttkHzhYz80gt94Cj s/Zug0f9RRRgTPwAwlm6m3uTOFCJou8pLGhZ/AKHmyS6NsBJdMkaymsmM59k59Qz6h4f jxPt5kpZ4D36HyID8iMSb/G4OL430W+lLRwkZ26WClTd7RKXsRBS6bHmnhXtcUpHEerG Vra9ZQ4JpZJT9q0rMZVDD5VB99q38YeMev/xleKQz4u9zxsJku29lOrJ9UbQNZOD7WzU DcNw== X-Gm-Message-State: AOUpUlEQq0LLB9Yk7OHDA1S5rW62rbA3tk+vITYEo7Y+SggruyQGEe81 zDtrZ8XNZ2ewg5HfPoVKISHb1i5eR3DWAA== X-Received: by 2002:adf:eec9:: with SMTP id a9-v6mr871088wrp.21.1531380865417; Thu, 12 Jul 2018 00:34:25 -0700 (PDT) Received: from localhost ([195.238.93.254]) by smtp.gmail.com with ESMTPSA id 185-v6sm6617619wmh.22.2018.07.12.00.34.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jul 2018 00:34:24 -0700 (PDT) From: Igor Opaniuk To: u-boot@lists.denx.de Date: Thu, 12 Jul 2018 10:34:24 +0300 Message-Id: <1531380864-23600-1-git-send-email-igor.opaniuk@linaro.org> X-Mailer: git-send-email 2.7.4 Cc: trini@konsulko.com, praneeth@ti.com, misael.lopez@ti.com, erosca@de.adit-jv.com, joakim.bech@linaro.org Subject: [U-Boot] [PATCH 1/1] avb2.0: add proper dependencies to libavb 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Provide proper dependencies for LIBAVB: (FASTBOOT and !BLK): 1. CONFIG_FASTBOOT is needed, as fastboot buffer is re-used (which is initially used in the fastboot protocol for downloads) 2. !CONFIG_BLK, as current implementation currently doesn't support non-legacy block API. Reported-by: Eugeniu Rosca Signed-off-by: Igor Opaniuk --- lib/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kconfig b/lib/Kconfig index a77bf1c..4780e7e 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -191,7 +191,7 @@ menu "Android Verified Boot" config LIBAVB bool "Android Verified Boot 2.0 support" - depends on ANDROID_BOOT_IMAGE + depends on ANDROID_BOOT_IMAGE && FASTBOOT && !BLK default n help This enables support of Android Verified Boot 2.0 which can be used