[PATCH 1/5] arm: mach-k3: common: Use ddr_init in spl_enable_dcache

Tom Rini trini at konsulko.com
Thu Jun 16 16:38:43 CEST 2022


On Tue, Jun 14, 2022 at 05:45:30PM +0300, Georgi Vlaev wrote:

> 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 at ti.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220616/1b975feb/attachment.sig>


More information about the U-Boot mailing list