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 44517C433F5 for ; Fri, 17 Dec 2021 16:46:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C61DA830C4; Fri, 17 Dec 2021 17:46:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (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=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Whfzrr6j"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D065B83007; Fri, 17 Dec 2021 17:46:21 +0100 (CET) Received: from mail-ua1-x92c.google.com (mail-ua1-x92c.google.com [IPv6:2607:f8b0:4864:20::92c]) (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 52C3E830C4 for ; Fri, 17 Dec 2021 17:46: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=sjg@google.com Received: by mail-ua1-x92c.google.com with SMTP id y22so5508773uap.2 for ; Fri, 17 Dec 2021 08:46:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:from:in-reply-to:references:date:message-id :subject:to:cc; bh=1oLExXSzRKKOZXbfpDXwZbJlJt+S/dbRWR+hgVAepMo=; b=Whfzrr6jouwF3h+8JA7m0kF7EhFm8k2uegjzZqvJ8UdDFnff1UV6pqW9sf6aYHKleI AoJd2SYT7w0DKyKV4dWM38OevpkEmZ15seQMd0Ymey2NS4sNrNry23jU34ygpjt4JVKz tK+Z9OJ1qvNh8QAGd1mzOE8MxzIqSTASQGZ9M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:sender:from:in-reply-to:references :date:message-id:subject:to:cc; bh=1oLExXSzRKKOZXbfpDXwZbJlJt+S/dbRWR+hgVAepMo=; b=ieUcwBhWcplKm/iDvDZfySnqE46dZORDjsvow2F3R8eU4ZH7hFab5Ro9UJbYflV+12 Vj6owc4sVMLSVGDYwN6BcXz7rEkzrYI3dzpb1fz97UJEviIrk5e/1Spca036b0kevGux C9nK8viE1+FjDwjle+iE5wUwgv9/lWul+/m4qdsS6+we4N1Y7MvyJ5qdQcVLY9mCtuUn 6Gxev82Ri6Ia/yFnfUAPR5YEDqTec3jF9vB2CLo66qgHkDJAu6gcZkRxMKHeep+IeRHd B966YyzXt4fzI3N6rpJ6jKTA//hPWOws9+0ZvyQRJgpI0pE8YednGAnXAocc8CHI3SZ5 8WzA== X-Gm-Message-State: AOAM530tncxc40V0MGzkqIbaqdX1/FjyUU4iO+ljExW2WM/VgQFESHnW er5mVKwul7vVGySD7LqzQTexYxGte3raL3B1RzNfgQ== X-Google-Smtp-Source: ABdhPJz2rHPOUe7WYknhBY+v7mJTJc1mqrbwTW0t3RI9CmhSJTlJLtEHS8e7lF2EHZ9UFpIxelr+kN7hkalf2s6HXUY= X-Received: by 2002:a05:6102:c86:: with SMTP id f6mr1643546vst.38.1639759576908; Fri, 17 Dec 2021 08:46:16 -0800 (PST) Received: from 480794996271 named unknown by gmailapi.google.com with HTTPREST; Fri, 17 Dec 2021 11:46:16 -0500 MIME-Version: 1.0 From: Simon Glass In-Reply-To: <20211208165535.3924959-1-sjg@chromium.org> References: <20211208165535.3924959-1-sjg@chromium.org> Date: Fri, 17 Dec 2021 11:46:16 -0500 X-Google-Sender-Auth: m_AVjmYDYOqGWrYgNoncJp_gwuQ Message-ID: Subject: Re: [PATCH 1/2] fdtgrep: Correct alignment of struct section To: Simon Glass Cc: Samuel Dionne-Riel , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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 When outputting a devicetree we should not align the struct section to a 16-byte boundary. The normal position is fine, which is 8-byte aligned. This avoids leaving adding 8 extra zero bytes in the output tree in the case where the reserved section is empty (i.e has 16 zero bytes). Signed-off-by: Simon Glass --- tools/fdtgrep.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Applied to u-boot-dm/next, thanks!