]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit21181e233f1f1290b4e56b355e1eb1e7b7cbd603
treed8ff7d480bb7efa7feffbf3760635d546ff62b10
parent851bd6d676d2f50f438fdb6b30187dd670c0dc5f
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