From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 20 May 2022 16:57:13 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ns441-003B4O-5n for lore@lore.pengutronix.de; Fri, 20 May 2022 16:57:13 +0200 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ns43z-0004JO-TH for lore@pengutronix.de; Fri, 20 May 2022 16:57:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-ID:In-Reply-To: References:Message-ID:Date:Subject:To:From:Reply-To:Cc:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xw4/hcAEv/PMbZViZg675sqd1/w6A13DjV5/vzR6w8o=; b=crmGie6Zn/fdMK +hfwUOGolL8R8ZBogFhkYpg4gq2Peg/LBMMHM/3PCbFwdLaAoHvn6Q9JRzogFoaY+6us5j4g/5ztj MIWNJbpuoamsa2Fg7jIUt1NhHtVAp9LL4QHZScNg8QCmdkA6WJDanljh6f7pDSM4oGQwUcpHN0+dt 8iqeAyvnbRkSVo75bwgOPm/+hh3tnrR9YgpNosMc+Vdl9UMjZpl/J6wJpViv2S27HgBNlXXZGkCN9 pTuQ3iKoTuasDxL5fnQ3oBdGHboE0k0GfPN4zp5sApTB3iE+djBQ5uVYWo0B8oXs+MzewmoG5QCk1 aS/J//di3RQa5qJY4vYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ns42O-00D0Uz-JC; Fri, 20 May 2022 14:55:32 +0000 Received: from mickerik.phytec.de ([195.145.39.210]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ns42J-00D0Tz-LC for barebox@lists.infradead.org; Fri, 20 May 2022 14:55:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1653058525; x=1655650525; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=EwTFP0BqqiXuHu28pdpnY/oyjtOZPhq+NshA9giSFrU=; b=oN9pi2FPMfhhRIFGn50vTvaOoh7uHOMgC0ru+0qEE71i3uZP3gvJfrnfjVlU0R9I 7bADRC9xtLUXaL/8/YHZXccIycpq5gQnPZvsKQZ9Nm6Y18JysfYPtfrLMujTg1rK PRyrUZjlTz0ZFLtDiiV6SgK/oESUU+emSfSrK5eM8qI=; X-AuditID: c39127d2-7cf7e70000000701-aa-6287abddd53f Received: from florix.phytec.de (Unknown_Domain [172.25.0.13]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 4A.45.01793.DDBA7826; Fri, 20 May 2022 16:55:25 +0200 (CEST) Received: from Berlix.phytec.de (172.25.0.12) by Florix.phytec.de (172.25.0.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.18; Fri, 20 May 2022 16:55:25 +0200 Received: from Berlix.phytec.de ([fe80::61cc:ebf0:7375:8768]) by berlix.phytec.de ([fe80::61cc:ebf0:7375:8768%3]) with mapi id 15.01.2375.018; Fri, 20 May 2022 16:55:25 +0200 From: Teresa Remmet To: "l.stach@pengutronix.de" , "barebox@lists.infradead.org" Thread-Topic: [PATCH] ARM: imx: esdctl: fix LPDDR4 size calculation Thread-Index: AQHYZtQyKTvKhUvBzUSNv5QVk6zBca0nuT4AgAAEpQCAAAYyAA== Date: Fri, 20 May 2022 14:55:25 +0000 Message-ID: <502bdadcc328e32507b8243dab95d434e6ccb28b.camel@phytec.de> References: <20220513141625.1411217-1-l.stach@pengutronix.de> <9b80b387dfdf2a64304eed26b378538419e8f10b.camel@pengutronix.de> In-Reply-To: <9b80b387dfdf2a64304eed26b378538419e8f10b.camel@pengutronix.de> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.0.11] Content-ID: <21DEE4E677BE004BBFF7A7A0DCD55AFE@phytec.de> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpkkeLIzCtJLcpLzFFi42JZI8nAq3t3dXuSQe9yTYsTi/uZLR7Mvcnk wOSxeUm9R/9fgwCmKC6blNSczLLUIn27BK6M5a/XshQ0KVZs3POFtYFxikIXIweHhICJxPLz KV2MXBxCAkuYJDpWb2OGcB4wSvSv/MsO4WxilOjs/MDUxcjJwSagIfHyRDeYLSJQIvHp4W5G EFtYwEliR/czFoi4s8TLy/dYIWwnicef1oPZLAKqEqtWX2QDsXkF3CQuX9jDBLFgH6PE+snT wYZyCvhIzJi/D2woo4CsxIYN55lBbGYBcYlNz76DDZIQEJBYsgciLiEgKvHy8T+ouLzEiVvT mEBeYxbQlFi/Sx+i1UJi4doHjBC2osSU7ofsEDcISpyc+YRlAqPYLCQbZiF0z0LSPQtJ9ywk 3QsYWVcxCuVmJmenFmVm6xVkVJakJuulpG5iBEbT4Ynql3Yw9s3xOMTIxMF4iFGCg1lJhJcx tyVJiDclsbIqtSg/vqg0J7X4EKM0B4uSOO/9HqZEIYH0xJLU7NTUgtQimCwTB6dUA2O10mMW RZn/fmJCj00SNO2nxS7a9qJ85dKyywH97Vu+OsVXp6YsDz0a5f9UpcRlz1HNDXUvGOZr7nqf Krktz/jB4Y4pBayrEnidFqzRm1ysWPTy4exSWw8urbc/ZZf6XG6YqOku5/emJTKnn2vzjDuX Hk6XzOZUzjm6ZeY/zjszguK3Jzlx6CixFGckGmoxFxUnAgD2CqXqlAIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220520_075527_880883_98DCBC6D X-CRM114-Status: GOOD ( 31.07 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:e::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-4.7 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: Re: [PATCH] ARM: imx: esdctl: fix LPDDR4 size calculation X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) QW0gRnJlaXRhZywgZGVtIDIwLjA1LjIwMjIgdW0gMTY6MzMgKzAyMDAgc2NocmllYiBMdWNhcyBT dGFjaDoNCj4gSGkgVGVyZXNhLA0KPiANCj4gQW0g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