]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
zynqmp: mmu: Correct the mmu table to cover the last 2MB
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tue, 3 Mar 2015 04:19:24 +0000 (09:49 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 3 Mar 2015 08:57:32 +0000 (09:57 +0100)
Correct the MMU table to cover the last 2MB with its
respective memory attributes. The last 2MB was missing
from MMU table as per earlier patches.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv8/zynqmp/cpu.c

index 64715a09a3aa30441815babd4d42f9d95c8ad0af..d4a69f50668cc216f068fe4c15c723050e7c382f 100644 (file)
@@ -71,7 +71,7 @@ static struct attr_tbl attr_tbll1t0[4] = { {16, 0x0},
                                         };
 static struct attr_tbl attr_tbll2t3[4] = { {0x180, DEVICE_ATTR},
                                           {0x40, 0x0},
-                                          {0x3E, DEVICE_ATTR},
+                                          {0x3F, DEVICE_ATTR},
                                           {0x1, MEMORY_ATTR}
                                         };