]> git.dujemihanovic.xyz Git - u-boot.git/commit
arch: arm: mach-k3: common: Return a pointer after setting page table
authorNikhil M Jain <n-jain1@ti.com>
Tue, 18 Jul 2023 08:57:28 +0000 (14:27 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 21 Jul 2023 19:32:12 +0000 (15:32 -0400)
commitdd5d1c5dcc4d1868e0b82f26db2ea53c63bd15de
treeca777d1d532409b8456bd73c3093df72a1bef9ad
parent149fb05b8346e6ac37df594ef0427cecff09053c
arch: arm: mach-k3: common: Return a pointer after setting page table

In spl_dcache_enable after setting up page table, set gd->relocaddr
pointer to tlb_addr, to get next location to reserve memory. Align
tlb_addr with 64KB address.

Signed-off-by: Nikhil M Jain <n-jain1@ti.com>
Reviewed-by: Devarsh Thakkar <devarsht@ti.com>
arch/arm/mach-k3/common.c