From patchwork Sat Aug 24 13:23:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1152632 X-Patchwork-Delegate: sjg@chromium.org 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=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="QzXFPFmB"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46FzqZ4ddCz9sBF for ; Sat, 24 Aug 2019 23:38:18 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id E1FF8C21E1E; Sat, 24 Aug 2019 13:30:58 +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 1F26FC21C8B; Sat, 24 Aug 2019 13:28:43 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B0DF5C21E1E; Sat, 24 Aug 2019 13:27:58 +0000 (UTC) Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) by lists.denx.de (Postfix) with ESMTPS id DC1C0C21E02 for ; Sat, 24 Aug 2019 13:27:55 +0000 (UTC) Received: by mail-io1-f68.google.com with SMTP id q22so26701753iog.4 for ; Sat, 24 Aug 2019 06:27:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GRT5Epgt0uE7TBA2lER8Fl5v1gLNEXyIJXkSIQkJrhQ=; b=QzXFPFmBlQEStVVJS9SK7g9VA2LAMqSrgifcr4csoU8GgCYM0ZRJ6VR4afrfdHHYo8 wUogkSUL3t9xJ+sjpmXgk2/dSQpAVOu7YzFfOK3L8zkqk+T6Wovj7nKGI7WgMFCV6fuZ yp2HwPm7QOdcd164P0t9aoysqQpSt04qC0KJ0= 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=GRT5Epgt0uE7TBA2lER8Fl5v1gLNEXyIJXkSIQkJrhQ=; b=Y8TQsmkHMxXbZ8PqWNnkMUrK9FQb/P+QGaA2TUqy+k1ahG8XhACkZeSlboIfdinKLY ix6bPpIbDWUHJZd4NiYhQZgbTy546i5PnN9bt5Zy+rHWfwdt4a6mBcUL2eMdz891Upsu NhBpzfeRX5Ps+WJ/u1maKCkFZifr9YFT0PUk1PYrQLcGnZMmvWiBL9sUeyCks4/hplGX NNQ/9sg7vG7OlT0Achom4x8bgWXpxDi0CuSXThwYwWC7LTjefti8K0wL2tWi5CQzzH8N 9AtzK2Kz5kRc5wVKqEqRYR74rC4hy8Rz37ttUphHRyYGi3CIHTGTUQ/sxA2GV7RygMRB Sjtg== X-Gm-Message-State: APjAAAW0jDQ42UPRZsG9A9PQRNg80wjEh7GhIQiFnwKlXU7fG0um2de2 BCeQNcd+QyDEi1K4oFhDlkf570jBgbA= X-Google-Smtp-Source: APXvYqypj5uPs8VwAabJhCtwlx1G/yeJvCzTC22L4NZ4FRm6UBBDkpzMwjpQgjkQswxn3W730FOnng== X-Received: by 2002:a5d:8196:: with SMTP id u22mr6129435ion.280.1566653274794; Sat, 24 Aug 2019 06:27:54 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id l2sm8881790ioq.83.2019.08.24.06.27.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Aug 2019 06:27:54 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Sat, 24 Aug 2019 07:23:09 -0600 Message-Id: <20190824132315.53130-30-sjg@chromium.org> X-Mailer: git-send-email 2.23.0.187.g17f5b7556c-goog In-Reply-To: <20190824132315.53130-1-sjg@chromium.org> References: <20190824132315.53130-1-sjg@chromium.org> MIME-Version: 1.0 Subject: [U-Boot] [PATCH 29/34] binman: Update IFWI entry to read entries outside constructor 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" At present this class reads its entries in the constructor. This is not how things should be done now. Update it. Signed-off-by: Simon Glass Signed-off-by: Simon Glass --- tools/binman/etype/intel_ifwi.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/binman/etype/intel_ifwi.py b/tools/binman/etype/intel_ifwi.py index e4da3e498a..ef2b35706f 100644 --- a/tools/binman/etype/intel_ifwi.py +++ b/tools/binman/etype/intel_ifwi.py @@ -48,7 +48,10 @@ class Entry_intel_ifwi(Entry_blob): Entry_blob.__init__(self, section, etype, node) self._convert_fit = fdt_util.GetBool(self._node, 'convert-fit') self._ifwi_entries = OrderedDict() + + def ReadNode(self): self._ReadSubnodes() + Entry_blob.ReadNode(self) def ObtainContents(self): """Get the contects for the IFWI