imx9: map flexspi peripheral interface
Signed-off-by: Jouni Ukkonen <jouni.ukkonen@unikie.com>
This commit is contained in:
parent
8382916d26
commit
a5cd1cf89b
2 changed files with 7 additions and 0 deletions
|
|
@ -65,6 +65,9 @@
|
|||
#define CONFIG_OCRAM_BASE_ADDR 0x20480000
|
||||
#define CONFIG_OCRAM_SIZE KB(640)
|
||||
|
||||
#define CONFIG_FSPI_PER_BASEADDR 0x28000000
|
||||
#define CONFIG_FSPI_PER_SIZE MB(128)
|
||||
|
||||
#define MPID_TO_CLUSTER_ID(mpid) ((mpid) & ~0xff)
|
||||
|
||||
#define IMX9_GPIO_NPORTS 4
|
||||
|
|
|
|||
|
|
@ -61,6 +61,10 @@ static const struct arm_mmu_region g_mmu_regions[] =
|
|||
MMU_REGION_FLAT_ENTRY("OCRAM",
|
||||
CONFIG_OCRAM_BASE_ADDR, CONFIG_OCRAM_SIZE,
|
||||
MT_NORMAL | MT_RW | MT_SECURE),
|
||||
|
||||
MMU_REGION_FLAT_ENTRY("FSPI_PERIPHERAL",
|
||||
CONFIG_FSPI_PER_BASEADDR, CONFIG_FSPI_PER_SIZE,
|
||||
MT_DEVICE_NGNRNE | MT_RW | MT_SECURE),
|
||||
};
|
||||
|
||||
const struct arm_mmu_config g_mmu_config =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue