aboutsummaryrefslogtreecommitdiff
path: root/drivers/ddr/fsl/main.c
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-09-18 13:23:27 +0200
committerTom Rini <trini@konsulko.com>2022-09-23 15:13:18 -0400
commit236f73962718511e801f4ec9562075e86f737ec4 (patch)
tree8ab2a2636dc86ebb2ccb312512d5f402cf2b3e7e /drivers/ddr/fsl/main.c
parentd179018e4c9561afac5ca5c8878852f1171b836b (diff)
board_f: show_dram_config: Print also real DRAM size
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@kernel.org>
Diffstat (limited to 'drivers/ddr/fsl/main.c')
0 files changed, 0 insertions, 0 deletions