commit | a5076cd52e4f7d6c33fa538ec888ffe5e29242d6 | [log] [tgz] |
---|---|---|
author | Georgi Vlaev <g-vlaev@ti.com> | Tue Jun 14 17:45:30 2022 +0300 |
committer | Tom Rini <trini@konsulko.com> | Wed Jul 06 14:30:08 2022 -0400 |
tree | 20659c88c1d678c7ff059c88eaf78beb41ce8472 | |
parent | 498f95a81d9341dd67bc87987f085839f46d7b75 [diff] |
arm: mach-k3: common: Use ddr_init in spl_enable_dcache The spl_enable_dcache() function calls dram_init_banksize() to get the total memory size. Normally the dram_init_banksize() setups the memory banks, while the total size is reported by ddr_init(). This worked so far for K3 since we set the gd->ram_size in dram_init_banksize() as well. Signed-off-by: Georgi Vlaev <g-vlaev@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>