]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: K3: j721e: Updated ddr address regions in MMU table
authorKedar Chitnis <kedarc@ti.com>
Wed, 4 Sep 2019 10:31:50 +0000 (16:01 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2019 14:07:59 +0000 (10:07 -0400)
The A72 U-Boot code loads and boots a number of remote processors
including the C71x DSP, both the C66_0 and C66_1 DSPs, and the various
Main R5FSS Cores. In order to view the code loaded by the U-Boot by
remote cores, U-Boot should configure the memory region with right
memory attributes. Right now U-Boot carves out a memory region which
is not sufficient for all the images to be loaded. So, increase this
carve out region by 256MB.

Signed-off-by: Kedar Chitnis <kedarc@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-k3/arm64-mmu.c

index 98c5a777e5200c439a267109fa423dbd164edc36..7f908eee803b685b5c984069fb7ce313c1cfdd5d 100644 (file)
@@ -80,13 +80,13 @@ struct mm_region j721e_mem_map[NR_MMU_REGIONS] = {
        }, {
                .virt = 0xa0000000UL,
                .phys = 0xa0000000UL,
-               .size = 0x0bc00000UL,
+               .size = 0x1bc00000UL,
                .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL_NC) |
                         PTE_BLOCK_NON_SHARE
        }, {
-               .virt = 0xabc00000UL,
-               .phys = 0xabc00000UL,
-               .size = 0x54400000UL,
+               .virt = 0xbbc00000UL,
+               .phys = 0xbbc00000UL,
+               .size = 0x44400000UL,
                .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
                         PTE_BLOCK_INNER_SHARE
        }, {