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 937C2EB64DC for ; Tue, 11 Jul 2023 15:00:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6E309868A9; Tue, 11 Jul 2023 16:59:53 +0200 (CEST) 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="kVWprlyY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AD7C0868A8; Tue, 11 Jul 2023 16:59:51 +0200 (CEST) Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) (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 2B83A8688B for ; Tue, 11 Jul 2023 16:59:48 +0200 (CEST) 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-x12a.google.com with SMTP id e9e14a558f8ab-345f4a3ff76so22432315ab.2 for ; Tue, 11 Jul 2023 07:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1689087586; x=1691679586; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3/8IhxcPVp1DKBdKdosTwpfkrPNtcBXCQfsZWWXIFqM=; b=kVWprlyY+FceqOe2WN6n/ZhZBxknpTC14hdtJ56Hej/2qp80SLRm0M1PQTXIXu1Yog WVIuFS4ydVeNoplR56VYR2y+wGB+5gd9nGmPU6ldOYtlH0sza5Y2moJlcMOCuSQHhE8C x2ewBSGR5HWNjKm8Oi9cFU/KdhRhZ3jRCWA0I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689087586; x=1691679586; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3/8IhxcPVp1DKBdKdosTwpfkrPNtcBXCQfsZWWXIFqM=; b=ZutlJ/bT9QouPEftN0W7Fnrtjjz583TWGKB5JtMDZItJ2Pr5LmLj449SK2DJ5XpDga e1C1U+pKtfh9Qk7m6/5DwivPzoX6LIVtzlOkkvtaDqJwgRKuKSBm+KOTTRLqKMymHhx0 yfd+FikhH7WRY9UQ8iJhd+FfBG1bMg3PU6q7eQkM88vGLKf3quTBRq+KB12v/Kl2/O1A pJjUwjPFa13kBeDJBUcMyC+BvGpzAymYOOuwhw8C1xFADHbVe4qhJTIl4m47odYW3fGF uNIhw9v1iTeug/0CUanoXqz7ctTJr4G0H+ZwX8K4PKnf+oR53sIou6i5Vjo5/wnEad8V K/4A== X-Gm-Message-State: ABy/qLYZ5f4NA6E1NMd/e66vSjluf75jssx6y1xeg55nXKYaCaKzyKID rfIBCdALlwTz5P+MkxITrhZWp/Ydk5Yn0qfmF5c= X-Google-Smtp-Source: APBJJlHWSRVTy6YjEmhfwsYuJGGcd3+Dq3aY6vq7hMGaosodHGKUusyF6sHxO98ehU/431RHN8etFQ== X-Received: by 2002:a92:911:0:b0:33a:d0f6:9133 with SMTP id y17-20020a920911000000b0033ad0f69133mr15560413ilg.12.1689087586768; Tue, 11 Jul 2023 07:59:46 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id v6-20020a92cd46000000b00338a1272ce1sm658881ilq.52.2023.07.11.07.59.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 07:59:46 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Marek Vasut , Jan Kiszka , Simon Glass , Alper Nebi Yasak , Neha Malcom Francis , Peng Fan , Philippe Reynes , Stefan Herbrechtsmeier Subject: [PATCH v4 02/20] binman: Init align_default in entry_Section Date: Tue, 11 Jul 2023 08:59:04 -0600 Message-ID: <20230711145935.2289816-3-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.390.g38632f3daf-goog In-Reply-To: <20230711145935.2289816-1-sjg@chromium.org> References: <20230711145935.2289816-1-sjg@chromium.org> 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.8 at phobos.denx.de X-Virus-Status: Clean This should be set up in the init function, to avoid a warning about a property not set up there. Fix it. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/etype/section.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/binman/etype/section.py b/tools/binman/etype/section.py index c36edd13508b..77250a7525c6 100644 --- a/tools/binman/etype/section.py +++ b/tools/binman/etype/section.py @@ -168,6 +168,7 @@ class Entry_section(Entry): self._end_4gb = False self._ignore_missing = False self._filename = None + self.align_default = 0 def IsSpecialSubnode(self, node): """Check if a node is a special one used by the section itself -- 2.41.0.390.g38632f3daf-goog