From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Sat, 23 Jan 2021 16:50:15 +0100 (CET) Subject: [PATCH] arm: dart6ul: fix ddr size macro In-Reply-To: <20210104190753.190414-1-ferlandm@amotus.ca> Message-ID: <20210123155015.25DC882894@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > From: Marc Ferland > The previous macro was off by one bit and so we were getting a ddr > size which was twice the real size. This commit refactors the macro so > it returns the right size in _bytes_ and modifies the printf call so the > size is still printed in MiB. > Signed-off-by: Marc Ferland Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================