board: ti: am64x: Use fdt functions for ram and bank init
authorDave Gerlach <d-gerlach@ti.com>
Thu, 17 Mar 2022 17:03:40 +0000 (12:03 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 4 Apr 2022 23:02:04 +0000 (19:02 -0400)
commitdffdb1f8eb2a88290896dd31f9e8d33789ba3757
tree18da450f67108e6d226cea7cd84e132c12fb2542
parentadbe138a903b38ef2e18b0fc0202261418ae2060
board: ti: am64x: Use fdt functions for ram and bank init

Use the appropriate fdtdec_setup_mem_size_base and
fdtdec_setup_bank_size calls in dram_init and dram_bank_init to pull
these values from DT, where they are already available, instead of
hardcoding them.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
board/ti/am64x/evm.c