[PATCH] arm: dart6ul: fix ddr size macro

sbabic at denx.de sbabic at denx.de
Sat Jan 23 16:50:15 CET 2021

> From: Marc Ferland <ferlandm at amotus.ca>
> 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 <ferlandm at amotus.ca>
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

More information about the U-Boot mailing list