]> git.baikalelectronics.ru Git - uboot.git/commit
lib: fdtdec: Update ram_base to store ram start adddress
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Mon, 16 Jul 2018 10:26:10 +0000 (15:56 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Jul 2018 08:49:56 +0000 (10:49 +0200)
commit0294073c5d21ef9ea76ec36728c9f7e25a187af0
tree9fa0de2e820f89ffa33941b069e5eb96865b0b8c
parent5ffb4258fec26a412a64cbd591a6ccb0a48028f1
lib: fdtdec: Update ram_base to store ram start adddress

This patch updates the ram_base to store the start address of
the first bank DRAM and the use this ram_base to calculate ram_top
properly. This patch fixes the erroneous calculation of ram_top
incase of non zero ram start address.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/board_f.c
lib/fdtdec.c