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 54DADC433F5 for ; Mon, 28 Feb 2022 19:09:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1FC7F83BDE; Mon, 28 Feb 2022 20:09:18 +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="RXtsoKHT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A4F2F83C2D; Mon, 28 Feb 2022 20:09:14 +0100 (CET) Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) (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 12BAA83A9D for ; Mon, 28 Feb 2022 20:09:03 +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-oi1-x232.google.com with SMTP id j24so14069330oii.11 for ; Mon, 28 Feb 2022 11:09:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ydUOcwRG1AYAwXs9DxZR+agfpUVtpD/OFV5lmNZLWXo=; b=RXtsoKHTqY+pdwE6Brpre6GSShsgMgAfgjW/m/1b2pKrUVKjl1V3E8pMUhqCl0kcom 1CFeIT0F3EjiIvsC4n/gGbY57sy8i1ZeddlexUKl1kJYJuBtLHiNkpI1atphGFDEjOK+ w6NHMce4EA3xAKO7oe/pybhHq1O8q/7MCjDJ8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ydUOcwRG1AYAwXs9DxZR+agfpUVtpD/OFV5lmNZLWXo=; b=nOCSBlYdolUw3Xnx7F3OwV36Z6ie4mLADJvdv/Xw132t/8l0VKoMS+ZrkCgmoX0wvO U+jwzwJ4hNBIHsDZc7AV4/SITgMWrefEmoFfP/sjSgStPOT6nEQ+r+iXAE1SzXugsq6S 9s6I7jkyKM/dbaI3frJJGIUyx/5dZLnzqiXJvnhWfWBtDzJgLEoZDTbN1zuTePT9oQXe iWzeeZiJav1nhUbd2PSP+sSVVoXY/vYCYIDDJc1uSW3LU2Xe0I91g0mujpD7RLjEd/0c 29mYY6Vw7P90KCPRA6ih7BHrhJdVUlVtIkc2C1iZ78jU2HbBYItUXvP7mIyRCiDrtosK OmnQ== X-Gm-Message-State: AOAM531vtp4n90lbgYUCLzw5GJsnjle3in55bJok9XxjY6/kO2hE4rIJ Kb9uLQfAGwhE2Iw2vezxbbKAc4/HT8IcVA== X-Google-Smtp-Source: ABdhPJxlyvtnwkHg7wdHN2hU2hhNW6UEVjvhHiSMw/8a3AaD15LuVUfkb1WDkeZnd4OMsgBmn2vn7A== X-Received: by 2002:a05:6808:1718:b0:2d7:416e:d9d9 with SMTP id bc24-20020a056808171800b002d7416ed9d9mr11926595oib.76.1646075341216; Mon, 28 Feb 2022 11:09:01 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id f188-20020a4a58c5000000b0031ccb8272f1sm5290577oob.33.2022.02.28.11.08.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 11:08:59 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , AKASHI Takahiro , Alexandru Gagniuc , Alper Nebi Yasak , Bin Meng , Heinrich Schuchardt , Jaehoon Chung , Jagan Teki , Jagannadha Sutradharudu Teki , Jerry Van Baren , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Marek Vasut , Masahisa Kojima , Michal Simek , Patrick Delaunay , Pavel Herrmann , Stefan Reinauer , Vignesh R , Wolfgang Denk Subject: [PATCH 00/18] Various bugfixes related to verified boot Date: Mon, 28 Feb 2022 12:08:17 -0700 Message-Id: <20220228190835.1480772-1-sjg@chromium.org> X-Mailer: git-send-email 2.35.1.574.g5d30c73bfb-goog 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.5 at phobos.denx.de X-Virus-Status: Clean This series collects together various misc patches that were needed when building mainline U-Boot against Chromium OS verified boot. Most of them fix minor bugs. Simon Glass (18): buildman: Update default config to build for sandbox buildman: Fix up cfgutil binman: Correct Chromium OS entry types errno: Avoid including strings in SPL abuf: Correct a corner case with abuf_realloc() fdt: Correct condition for SEPARATE_BSS fdt: sandbox: Avoid looking for an appended device tree lzma: Tidy up the function prototype cbfs: Add some more definititions cros_ec: Complete the comment for cros_ec_read_batt_charge() spi: Avoid checking console in SPL disk: Correct the conditions for SPL Add a default for TPL_TEXT_BASE Make ASYMMETRIC_KEY_TYPE depend on FIT_SIGNATURE stdint: Add a definition of UINT8_MAX dm: core: Add a required struct declaration dm: core: Tidy up comments in uclass headers dm: blk: Expand iteration and add tests common/spl/Kconfig | 1 + disk/Makefile | 10 +-- drivers/block/blk-uclass.c | 24 +++++++ drivers/mtd/spi/spi-nor-core.c | 2 +- include/blk.h | 45 +++++++++++++ include/cbfs.h | 43 +++++++++++++ include/cros_ec.h | 1 + include/dm/device-internal.h | 1 + include/dm/uclass-internal.h | 18 +++--- include/dm/uclass.h | 13 ++-- include/errno.h | 2 +- include/stdint.h | 7 +++ lib/abuf.c | 4 +- lib/crypto/Kconfig | 1 + lib/fdtdec.c | 5 +- lib/lzma/LzmaTools.c | 4 +- lib/lzma/LzmaTools.h | 17 ++++- test/dm/blk.c | 111 +++++++++++++++++++++++++++++++++ test/lib/abuf.c | 29 +++++++++ tools/binman/btool/futility.py | 4 +- tools/binman/etype/vblock.py | 2 +- tools/buildman/bsettings.py | 1 + tools/buildman/cfgutil.py | 4 +- 23 files changed, 315 insertions(+), 34 deletions(-) -- 2.35.1.574.g5d30c73bfb-goog