commit | 09371c637aabd3f83a6950802fb4b2f206ac49af | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Fri Feb 14 10:57:14 2020 +0800 |
committer | developer <developer@mediatek.com> | Fri Feb 14 14:16:59 2020 +0800 |
tree | a24c57282e8e9d51301949e7c256285e004093f3 | |
parent | 15fdeef3a3d54218a796ea6bb89ec448bebeed2d [diff] |
mediatek: mt8183: protect 4GB~8GB dram memory The offset there is the virtual address space on the bus side (1-9GB for 8GB RAM), and that emi_mpu_set_region_protection will translate to the physical memory space (0-8GB). 8GB is 33-bit (the memory bus width is 33-bit on this platform), so 0x23FFFFFFFUL-EMI_PHY_OFFSET = 0x1_FFFF_FFFF. Change-Id: I7be4759ed7546f7e15a5868b6f08988928c34075