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 C4F42CCA47E for ; Thu, 16 Jun 2022 14:38:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3701D84328; Thu, 16 Jun 2022 16:38:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (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="M9rRIL0p"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 592F484328; Thu, 16 Jun 2022 16:38:51 +0200 (CEST) Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) (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 4EE788438F for ; Thu, 16 Jun 2022 16:38:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf34.google.com with SMTP id c1so1988010qvi.11 for ; Thu, 16 Jun 2022 07:38:47 -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; bh=bUapvhLW0lqTuQDCZc6N/GRUj5NfQnYH39Antkm4QTI=; b=M9rRIL0pWhcl+mjKvNCJBKEHRw68FdsC90C+4p67H6QiYlCjA8JO0l+VdmxC2vMJnq eqjHT9TX53wiTy3Cna1mRe0xsyGI/iBhVMnUqtMv3sVczdIe+hr+6xODlVylno8/51GG GjMR9s3UGsxvGw0CV7IgyroPmFEjkF/7WZODY= 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; bh=bUapvhLW0lqTuQDCZc6N/GRUj5NfQnYH39Antkm4QTI=; b=PkDlmu2knVFxQMCICUVcK4IkxsS0KFtX/H3sX+0YxZ9kdoaCR7NrmlTqdsiFvqNSU7 5+Gq9HD2gqBzB0SRDYsj04DjqhUL9JgLjelsZ3B0zKHCKwqWi0J3RJm2wzVJNJ2LtEWn HCuwM1Z4DexmKaKc5RUfUxkriu9yDHYftk0b6PvdhSwy88dNfwHBdtoUnyLB4OSwU6z0 6vTXd2yYe80hD8FRtc/nqu75CCVRvCj/8KDaBH3qkv/gzinWKUfL2/MJ/b7kMg6LClk2 f5Pjs+tmsas0vqxyfz7W2U5GcSv9HKtu03gMZm+Pg2Ms55oxvW9obgEK8iTE8Bp6aeZX SZDw== X-Gm-Message-State: AJIora+jP1iEDxHz+ckwAhpdETMONu/eYPtC0swQmNJT0jE8rIn67wxU lJrXWk4wVv+P+QbpBG5yPSuY5upYws/n4w== X-Google-Smtp-Source: AGRyM1vAL+mvJOGTjCCTSoUrns5XFECg0BY2oijoIvlQVNaRlEIE7Lz9IWtKq7Tme6MtvSqjifuq2Q== X-Received: by 2002:ac8:7c55:0:b0:305:344d:3908 with SMTP id o21-20020ac87c55000000b00305344d3908mr4184620qtv.403.1655390326020; Thu, 16 Jun 2022 07:38:46 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id o12-20020a05620a2a0c00b006a726b03ad1sm2084634qkp.52.2022.06.16.07.38.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jun 2022 07:38:45 -0700 (PDT) Date: Thu, 16 Jun 2022 10:38:43 -0400 From: Tom Rini To: Georgi Vlaev Cc: Vignesh Raghavendra , Anand Gadiyar , u-boot@lists.denx.de Subject: Re: [PATCH 1/5] arm: mach-k3: common: Use ddr_init in spl_enable_dcache Message-ID: <20220616143843.GP2484912@bill-the-cat> References: <20220614144534.317407-1-g-vlaev@ti.com> <20220614144534.317407-2-g-vlaev@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="D2wrJPg6GMF/6GgX" Content-Disposition: inline In-Reply-To: <20220614144534.317407-2-g-vlaev@ti.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean --D2wrJPg6GMF/6GgX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 14, 2022 at 05:45:30PM +0300, Georgi Vlaev wrote: > The spl_enable_dcache() function calls dram_init_banksize() > to get the total memory size. Normally the dram_init_banksize() > setups the memory banks, while the total size is reported > by ddr_init(). This worked so far for K3 since we set the > gd->ram_size in dram_init_banksize() as well. >=20 > Signed-off-by: Georgi Vlaev Reviewed-by: Tom Rini --=20 Tom --D2wrJPg6GMF/6GgX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmKrQHMACgkQFHw5/5Y0 tyxvhQv+JQsfUoO1Tiap3oMXBKFggub/LzjAauSvFqEs6BO9CO390Sb4k/q4rEjL qAsQNq0Gy7y6GIbJc5JgEXlus9wF0076qfgAyEu5ROia5YRF7HwlHgLM/K74rAkV DSq/lFIWci62stC+X8X28qlCB3UY7W62pTUOMdFIzThTnFXrqXsawZ/QmDq7qesO jH5orV0jKSwOiYIxSZy+yqJdhuUghF196Gu3B7N8qSJ+wzemXt/Av4W03txjjue6 uFRk0kcIYa1OfTQQfmSt1QBJfrDYYNyTy5G0pr4qqbOqIi8Rml1PxFsDq4DkrLf6 Ny6R29GccriESFWm6hWB2GBGD9peNH5rZ6Nn0V7c2x9ZSnpyzBQxyF+ppdXIvZn8 gjf9hdNap/gUlxBYPKiGd1nhXoaua2I1C2f+gJ3pj29MvHnlMUPXE6RfhFkb2pg4 OiE2/4tXCC6jSJa22MFKz63yEGgeh43/TOHC3SfZKvOzWNZ2ngkXEGEbyVQ6V8nR 3D39f2Fj =chnB -----END PGP SIGNATURE----- --D2wrJPg6GMF/6GgX--