board: ti: am62x: Use fdt functions for ram and bank init
authorGeorgi Vlaev <g-vlaev@ti.com>
Tue, 14 Jun 2022 14:45:32 +0000 (17:45 +0300)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jul 2022 18:30:08 +0000 (14:30 -0400)
commit249e9f3d1966e55a2f3cf56e5b9700990bd72cef
treed8ff7d480bb7efa7feffbf3760635d546ff62b10
parent362b0d2e6eb2fbea8d000f40243e8014d1b4645a
board: ti: am62x: Use fdt functions for ram and bank init

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

Signed-off-by: Georgi Vlaev <g-vlaev@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/ti/am62x/evm.c