Map iMX93 OCRAM memory to mmu
Signed-off-by: Jouni Ukkonen <jouni.ukkonen@unikie.com>
This commit is contained in:
parent
e8de8cf60a
commit
8382916d26
|
@ -62,6 +62,9 @@
|
|||
#define CONFIG_DEVICEIO_BASEADDR 0x40000000
|
||||
#define CONFIG_DEVICEIO_SIZE MB(512)
|
||||
|
||||
#define CONFIG_OCRAM_BASE_ADDR 0x20480000
|
||||
#define CONFIG_OCRAM_SIZE KB(640)
|
||||
|
||||
#define MPID_TO_CLUSTER_ID(mpid) ((mpid) & ~0xff)
|
||||
|
||||
#define IMX9_GPIO_NPORTS 4
|
||||
|
|
|
@ -57,6 +57,10 @@ static const struct arm_mmu_region g_mmu_regions[] =
|
|||
MMU_REGION_FLAT_ENTRY("DRAM0_S0",
|
||||
CONFIG_RAMBANK1_ADDR, CONFIG_RAMBANK1_SIZE,
|
||||
MT_NORMAL | MT_RW | MT_SECURE),
|
||||
|
||||
MMU_REGION_FLAT_ENTRY("OCRAM",
|
||||
CONFIG_OCRAM_BASE_ADDR, CONFIG_OCRAM_SIZE,
|
||||
MT_NORMAL | MT_RW | MT_SECURE),
|
||||
};
|
||||
|
||||
const struct arm_mmu_config g_mmu_config =
|
||||
|
|
Loading…
Reference in New Issue