Home
last modified time | relevance | path

Searched hist:"95 d3c46a2f0db93003bebf5dc3d5568e940a773f" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/mediatek/mt8183/drivers/emi_mpu/
H A Demi_mpu.c95d3c46a2f0db93003bebf5dc3d5568e940a773f Fri Feb 14 02:57:14 UTC 2020 Xi Chen <xixi.chen@mediatek.com> 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
Signed-off-by: Xi Chen <xixi.chen@mediatek.com>