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 X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 8B146C433EF for ; Mon, 20 Sep 2021 12:04:40 +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 ADACE61040 for ; Mon, 20 Sep 2021 12:04:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org ADACE61040 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com 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 E2613829C6; Mon, 20 Sep 2021 14:04:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="DJKWtLoc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5CC65829F9; Mon, 20 Sep 2021 14:04:34 +0200 (CEST) Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) (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 C86D880EC5 for ; Mon, 20 Sep 2021 14:04:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2b.google.com with SMTP id a9so3014842qvf.0 for ; Mon, 20 Sep 2021 05:04:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=sdkis63P301LjpSGTMUkdjCrg5ozPCD3vxE5JdEp5uw=; b=DJKWtLocti+vYDHoyd43WUlL5pC+lXgqznT8MCvIq47NpaUIeYGVuey79IULp9RrDO 9vFshkX0mhppjTD+nLy4pmLl4evn12Obpj5J/Vbvk5yaRO9M6OoMVhVsQHPbpFAZxgz6 tTfH/aOzAofA+/IW9c78s3ze95boqL5E90jaE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=sdkis63P301LjpSGTMUkdjCrg5ozPCD3vxE5JdEp5uw=; b=Lm26JXeiQNJybdf+S0ir7XPAiUF50PLoRC73RIqmWspNrCFwrjXRgIN3wvDzc8bI6d hdp8+4UeP2BWvlpY4ADRF8xkzbrlEiHcgqWSeozp8eJAu3NjJxvf0vNS7KKoC8IRECK+ zmyKc9ttR//K0rhz2wHFHCWgtjj2xBDABLEM8IDNmWQX+LCS9d24HcZ+QoT0dGj3tDEA TKVaz70PJIDfTp73vtlQQnvaYJs6Vs8Er2eyMcg9knguM/1xmLFMDN8YFSTZtlH10wTF +NPrKDjMS6aiac3E4GCAPU1eWyANiBhf60XvdVmtNoCk5lCZKvOJyjIGNA1hqNnPuZbL Gpmg== X-Gm-Message-State: AOAM533b1T7s0yeFkXPejwfSxxd+0mHDZt4vuede2cK0CTjhY7+mnnnC JTfKAXjb3i8SY8akNDK2ZCD3hg== X-Google-Smtp-Source: ABdhPJzpRDCFzCBE/IIH4O5AsUrNAZuJkbPQySA/d8B0nIuCesLlfBE7Z9/4KXCYdjTGcRFPDOEvSg== X-Received: by 2002:a0c:ffc4:: with SMTP id h4mr24912429qvv.58.1632139469554; Mon, 20 Sep 2021 05:04:29 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-09be-67ba-cce9-f7cd.res6.spectrum.com. [2603:6081:7b01:cbda:9be:67ba:cce9:f7cd]) by smtp.gmail.com with ESMTPSA id g19sm10610275qki.58.2021.09.20.05.04.28 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Sep 2021 05:04:28 -0700 (PDT) Date: Mon, 20 Sep 2021 08:04:26 -0400 From: Tom Rini To: Wasim Khan Cc: priyanka.jain@nxp.com, v.sethi@nxp.com, u-boot@lists.denx.de, Wasim Khan Subject: Re: [PATCH] board: freescale: lx216x : increase fdt blob size Message-ID: <20210920120426.GP8579@bill-the-cat> References: <20210917121828.2554448-1-wasim.khan@oss.nxp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yUmmepPgoWmUqRhm" Content-Disposition: inline In-Reply-To: <20210917121828.2554448-1-wasim.khan@oss.nxp.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) 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 --yUmmepPgoWmUqRhm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 17, 2021 at 02:18:28PM +0200, Wasim Khan wrote: > From: Wasim Khan >=20 > Increase fdt blob size for lx2160 and lx2162 series > to fix below errors/warnings during device tree fixup. >=20 > Unable to update property /soc/spi@2100000:status, err=3DFDT_ERR_NOSPACE > Unable to update property /soc/spi@2110000:status, err=3DFDT_ERR_NOSPACE > Unable to update property /soc/spi@2120000:status, err=3DFDT_ERR_NOSPACE > WARNING: could not set reg FDT_ERR_NOSPACE. > WARNING unable to set iommus: FDT_ERR_NOSPACE >=20 > Signed-off-by: Wasim Khan > --- > board/freescale/lx2160a/lx2160a.c | 8 ++++++++ > 1 file changed, 8 insertions(+) >=20 > diff --git a/board/freescale/lx2160a/lx2160a.c b/board/freescale/lx2160a/= lx2160a.c > index f505e82fb9..d03168d6a2 100644 > --- a/board/freescale/lx2160a/lx2160a.c > +++ b/board/freescale/lx2160a/lx2160a.c > @@ -828,10 +828,18 @@ int ft_board_setup(void *blob, struct bd_info *bd) > u64 mc_memory_base =3D 0; > u64 mc_memory_size =3D 0; > u16 total_memory_banks; > + int err; > #if CONFIG_IS_ENABLED(TARGET_LX2160ARDB) > u8 board_rev; > #endif > =20 > + err =3D fdt_increase_size(blob, 512); > + if (err) { > + printf("%s fdt_increase_size: err=3D%s\n", __func__, > + fdt_strerror(err)); > + return 1; > + } > + > ft_cpu_setup(blob, bd); This should return the error we got from fdt_increase_size rather than 1. --=20 Tom --yUmmepPgoWmUqRhm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFIeMAACgkQFHw5/5Y0 tyzoKAv/TMp8Eyzobm9tKXn/h5eT2FsWC+HRtxMQAbUz/d45vHK4uBGn3qsFOK/d Qp2qoX9jMI+GZ5UwtHt6+bo7bMgowRxvCPMfa8JTbZ5YhHYlpc98fR8r5Ihkk/HH /zYMHhUV8T2wYgDdwZGDZ4TSyOOcz36jF/a63GFXogfTBgb7QvUA7bgTXSezC12m paQD/tqbGxjVXvb+H1M42jqqbgvjN9q8BITLryy4MOa3yDlI9idKnImr9Zw2baIV yBKoETmtb1C3clyBRhCc5Sns1X99mYR7x+/OwJXLHv72I41OaX2SmoFZSZwm5rT2 0EJhZaI0Vl90AaVHuu03AN2NFXicuAnu4HywxLW9TO5OrPOu9Y1D1tlolAeU0t0z bKGKW7Sf8K+79Wji+32qWIFREBlUj8oDvfufrfXDSVGCtmGJNmsdWd4E9bprApPB kzWJIbSqdo9bPvaoBBDIY8F6xbHZx8Ju9HJxVN7cl4h8+zKcbgl1G2zAxC/OTqNz kLgODjdX =OtJB -----END PGP SIGNATURE----- --yUmmepPgoWmUqRhm--