[PATCH v2] board_f: show_dram_config: Print also real DRAM size

Tom Rini trini at konsulko.com
Sat Sep 24 00:48:49 CEST 2022


On Sun, Sep 18, 2022 at 01:23:27PM +0200, Pali Rohár wrote:

> 32-bit U-Boot builds cannot use more than around 2 GB of DDR memory. But on
> some platforms/boards it is possible to connect also 4 GB SODIMM DDR memory.
> U-Boot currently prints only effective size of RAM which can use, which may
> be misleading as somebody would expect that this line prints total size of
> connected DDR modules. So change show_dram_config code to prints both real
> and effective DRAM size if they are different. If they are same then print
> just one number like before. It is possible that effective size is just few
> bytes smaller than the real size, so print both numbers only in case
> function print_size() prints formats them differently.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220923/6865fcfc/attachment.sig>


More information about the U-Boot mailing list