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 F18BAC433EF for ; Thu, 13 Jan 2022 02:26:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 34DDE8313B; Thu, 13 Jan 2022 03:26:34 +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="jDz0rFQf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 86E18831E9; Thu, 13 Jan 2022 03:26:33 +0100 (CET) Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (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 C2FCF8303A for ; Thu, 13 Jan 2022 03:26:30 +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-il1-x12c.google.com with SMTP id d3so4286251ilr.10 for ; Wed, 12 Jan 2022 18:26:30 -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=6TmPYt7zn7VLQZCUXp3v9qH/TKWCv8woquCmjtZcl2s=; b=jDz0rFQfGv74Oy9p4CKsx2dN1+gheYc0ZW7VPWaUaDcUzxUyw2iblyICKBFcK+idWM IoKki7QfuUeFMUHjN9TdsaKoDfVnWskayMRIvjGvqqeIEI11QTuS2G9Q7vLgwgldyjpy I9xpehrbG2UF+QQL3RIIrwBkZabm31x0f0fPM= 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=6TmPYt7zn7VLQZCUXp3v9qH/TKWCv8woquCmjtZcl2s=; b=WoAkaT38/4JDrnDTuhgMgYTUA//qNO8L/sY2p8nKMSImyRsDf4GD0+XzF3MY+GrQOm MT4IGh+nkBgBwFQ+Umh+VOGIdmEZ20s2vog/t+l/qJJXc2bJOnow/09hpga6HjILpYAb HcAJZC+lEb46Dg+yITW9e5ZpJVnnb9xs5KGMOEe48JKyHueEyASZMJwoQr4W+M8GgXXJ ++U8SyL3jVIpnymD6juKlOxV4dNf4wUS/zt3KPs7LIdmO+6R9Rj/EPc2VxoQNmLuT0Yh 1SbZTRcSu0LrQBrsZiNiZvN4M2nR+RukCVasZYD4wnTddJ+LtCo18GPMVrZSokCtgg8Z d6rA== X-Gm-Message-State: AOAM532RR0mRspKHX822l/yyO6eNjtMW8FXrQJmxzmPJgNKoUlFlHKCr ggUreqdtmgoP/PeOrGn35Pe5jnkkB2VTbQ== X-Google-Smtp-Source: ABdhPJybcNIWormlOHtIsSsemLTm3OCj3tcHgXUp3JZDqQJl0D1Nek3b8g3m6X+3m4VYnx3aNSCXyQ== X-Received: by 2002:a92:ac01:: with SMTP id r1mr1369672ilh.67.1642040789216; Wed, 12 Jan 2022 18:26:29 -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 e17sm965634ili.37.2022.01.12.18.26.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 18:26:28 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Jerry Van Baren Subject: [PATCH v2 00/12] bloblist: Enhancements for standard passage Date: Wed, 12 Jan 2022 19:26:13 -0700 Message-Id: <20220113022625.413990-1-sjg@chromium.org> X-Mailer: git-send-email 2.34.1.575.g55b058a8bb-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.2 at phobos.denx.de X-Virus-Status: Clean This series collects together the prerequisites for standard passage. The only change is to drop the CONFIG_IF_ENABLED_INT() macro. Changes in v2: - Create an accessor for CONFIG_BLOBLIST_ADDR instead of the Kconfig macro Simon Glass (12): stddef: Avoid warning with clang with offsetof() fdt: Drop SPL_BUILD macro bloblist: Put the magic number first bloblist: Rename the SPL tag bloblist: Drop unused tags bloblist: Use explicit numbering for the tags bloblist: Use LOG_CATEGORY to simply logging bloblist: Use 'phase' consistently for bloblists bloblist: Refactor Kconfig to support alloc or fixed bloblist: Add functions to obtain base address and size bloblist: doc: Bring in the API documentation bloblist: Relicense to allow BSD-3-Clause arch/x86/cpu/broadwell/cpu_from_spl.c | 4 +- common/Kconfig | 95 +++++++++++-- common/bloblist.c | 119 +++++++++++------ common/board_f.c | 2 +- common/spl/spl.c | 4 +- doc/develop/bloblist.rst | 8 +- drivers/serial/serial-uclass.c | 3 +- include/bloblist.h | 184 +++++++++++++++++++------- include/fdtdec.h | 6 - include/linux/stddef.h | 8 +- test/bloblist.c | 21 ++- 11 files changed, 333 insertions(+), 121 deletions(-) -- 2.34.1.575.g55b058a8bb-goog