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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F373FC433EF for ; Thu, 30 Sep 2021 04:16:10 +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 6CDAB6187F for ; Thu, 30 Sep 2021 04:16:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6CDAB6187F 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 C3F4883176; Thu, 30 Sep 2021 06:15:50 +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="ZtW0PDSY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BADFA80644; Thu, 30 Sep 2021 06:09:54 +0200 (CEST) Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) (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 8953E8119C for ; Thu, 30 Sep 2021 06:09:40 +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@google.com Received: by mail-ot1-x32a.google.com with SMTP id x33-20020a9d37a4000000b0054733a85462so5648525otb.10 for ; Wed, 29 Sep 2021 21:09:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tK3ZsFNH4CHxmbRuHhlvpwuTEtsnFUsy5mWa9Y1FWro=; b=ZtW0PDSYhu49/ueITwTwP1Z5rFZVYh+uk6S3E+D5M2fDmwp2u1u/bJmChfslpFCdop nS0OAf7KloALVvPRWtj4GCKBGxLBR8yn9A5W35fmdMazPjsew6TuqjQDmzeh3o6Bj+dU GLul7EJZScP2JG7NpypE4XAoFeEib44YI1B7E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tK3ZsFNH4CHxmbRuHhlvpwuTEtsnFUsy5mWa9Y1FWro=; b=S/QWf6fkeGdDtJXpK5KetkNx09YUjT+B3otkowp4DdH12l+ye5b/wauy0vWZfB/Kk6 zs+W+kD5RBlQjhCmtzGqByvaMAYObZe1USCT0Nmhhe5bRnv7so/KBIk25fX4Xu5UEotX feOdAv9RL+EQth7lSmJuYFIsJ+qdNWixfCJIRsRHHIYWn+sOHejyJsDe1EMChsh0nKSn 5Sa94REkXY6sSH+UDL8Qyuo7CBO7dntuaqFXHhJXI5TBh95rvo0MAMeTtRHEDQ7Btanx tABWEgKmZbOf90BD3OV2mJCEkkfyaV7No4snF44CJguJpnCl/0Sa/MNWD6Kz4XgywYWj CBlw== X-Gm-Message-State: AOAM531udPquAuTnKPozDGN0pzoASberPorcceCjYzRLDLfZUa9HF0/b S0HhlWm601ldlo16Vm9l+ft7NRINUqtxUIuPRudTDQ== X-Google-Smtp-Source: ABdhPJzQzTrLvnq6pN38YkWyN1F4SesF1ix94ew3WcGup3X4kZUM/IDjCcPwMO2Fbu5bhUyhCJh+vsT4znsgXEaas4g= X-Received: by 2002:a05:6830:31a5:: with SMTP id q5mr3257218ots.191.1632974978982; Wed, 29 Sep 2021 21:09:38 -0700 (PDT) MIME-Version: 1.0 References: <20210903131625.2153838-1-thierry.reding@gmail.com> <20210903131625.2153838-6-thierry.reding@gmail.com> In-Reply-To: <20210903131625.2153838-6-thierry.reding@gmail.com> From: Simon Glass Date: Wed, 29 Sep 2021 22:09:23 -0600 Message-ID: Subject: Re: [PATCH 5/9] fdtdec: Support reserved-memory flags To: Thierry Reding Cc: Tom Warren , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" 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 On Fri, 3 Sept 2021 at 07:16, Thierry Reding wrote: > > From: Thierry Reding > > Reserved memory nodes can have additional flags. Support reading and > writing these flags to ensure that reserved memory nodes can be properly > parsed and emitted. > > This converts support for the existing "no-map" flag to avoid extending > the argument list for fdtdec_add_reserved_memory() to excessive length. > > Signed-off-by: Thierry Reding > --- > arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 +- > arch/riscv/lib/fdt_fixup.c | 2 +- > board/nvidia/p2371-2180/p2371-2180.c | 4 ++-- > board/nvidia/p2771-0000/p2771-0000.c | 4 ++-- > board/nvidia/p3450-0000/p3450-0000.c | 4 ++-- > include/fdtdec.h | 20 +++++++++++------- > lib/fdtdec.c | 28 ++++++++++++++++--------- > lib/fdtdec_test.c | 4 ++-- > lib/optee/optee.c | 3 ++- > test/dm/fdtdec.c | 13 ++++++------ > 10 files changed, 50 insertions(+), 34 deletions(-) Reviewed-by: Simon Glass