Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37792C4338F for ; Thu, 29 Jul 2021 01:23:27 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 31BA8608FB for ; Thu, 29 Jul 2021 01:23:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 31BA8608FB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8BC2C82DD6; Thu, 29 Jul 2021 03:23:23 +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="bnljAAOF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BF6C682DD5; Thu, 29 Jul 2021 03:23:20 +0200 (CEST) Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) (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 C5A8382CDA for ; Thu, 29 Jul 2021 03:23:17 +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-oi1-x22f.google.com with SMTP id o185so6195450oih.13 for ; Wed, 28 Jul 2021 18:23:17 -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:mime-version :content-transfer-encoding; bh=L8x+AaxlRpIbXCnMTfQ87rDr8wEzGjlRlraCnKNao/Y=; b=bnljAAOFsUrFpqJyWvUa4d+Fdu5Q4/P84Oj26SfCViNjA5S+yxoqk5MZLA4stGYejk GjAbGGga1QLT7BwYxnXz9O6Ki6mDlQ1GX7mHO5p1w6m7PPhE2aFqcH8Wp4lX89aac+P0 EuBPtnETLmg+EXS/ydTSBAj5MGaKRKEiaVVw0= 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:mime-version :content-transfer-encoding; bh=L8x+AaxlRpIbXCnMTfQ87rDr8wEzGjlRlraCnKNao/Y=; b=RrAQxetPmbB/9bRPn7V59ngaS2/LUewCsm923vPeduTqAKMqDpVvA9I7GWS3Q+nOLM hHTKVwvihMjqJnSoilnUatiXjshAUM7LUPWe0vU1Alnlft4alwoKk0UUqwyNG1qaXMUW ewP3nl0CgMqMyNM6tFkXwusbwp/YNrLZe77+W2R3Y4LT/QUWn5gAHHq0iH+aVsb2HpOl qhgnshC+2WafpHvbWACXBm5o7GRfurTkfCQiHv2rA4CzZGgHsp+EoebiM1XXAFKKd7zs txyX69ByTKv9J8w1s40yiiWySxr7NCwdO20FIa/bmnYqgfK0vdqTFFFIXFG6kzKu1ssg PzIw== X-Gm-Message-State: AOAM530FPGNULGPmS6Mvxwfn6zo/XXGtxsNrWQwkMOsHjbRle2Apv1/B /HDgyL73/WLhYw1w5q0W7P1ZOZhoKoDy0D5h X-Google-Smtp-Source: ABdhPJwyVvCwNFeplqTJ/ssHZve23qOgloVhJizzU9mHJU/LVKvoqOO5j/vXj9ulNCeEOOG/OffvEA== X-Received: by 2002:aca:fcc3:: with SMTP id a186mr7920636oii.105.1627521795937; Wed, 28 Jul 2021 18:23:15 -0700 (PDT) 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 l11sm308867otf.1.2021.07.28.18.23.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jul 2021 18:23:14 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Heiko Schocher , Heinrich Schuchardt , Philippe Reynes , =?UTF-8?q?Vincent=20Stehl=C3=A9?= , Walter Lozano Subject: [PATCH 0/3] dtoc: Improve support for 'ranges' property Date: Wed, 28 Jul 2021 19:23:08 -0600 Message-Id: <20210729012311.1406847-1-sjg@chromium.org> X-Mailer: git-send-email 2.32.0.432.gabb21c7263-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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 An empty ranges property confuses dtoc at present and it dies with an error. This series fixes this and a few related things. Simon Glass (3): dtoc: Rename is_wider_than() to reduce confusion dtoc: Fix widening an int array to an int dtoc: Support widening a bool value arch/sandbox/dts/sandbox.dtsi | 2 ++ test/dm/of_platdata.c | 7 ++--- tools/dtoc/fdt.py | 40 +++++++++++++++++++--------- tools/dtoc/test/dtoc_test_simple.dts | 2 ++ tools/dtoc/test_dtoc.py | 9 ++++--- tools/dtoc/test_fdt.py | 29 +++++++++++++++++--- 6 files changed, 68 insertions(+), 21 deletions(-) -- 2.32.0.432.gabb21c7263-goog