forked from Imagelibrary/rtems
bsp/atsam: Use normal memory for QSPI flash area
This is a performance improvement for execute-in-place (XIP).
This commit is contained in:
committed by
Sebastian Huber
parent
5eb769ca8b
commit
c186de5cd1
@@ -258,7 +258,7 @@ void _SetupMemoryRegion(void)
|
||||
MPU_SetRegion(dwRegionBaseAddr, dwRegionAttr);
|
||||
|
||||
/****************************************************
|
||||
QSPI memory region --- Strongly ordered
|
||||
QSPI memory region --- Normal
|
||||
START_Addr:- 0x80000000UL
|
||||
END_Addr:- 0x9FFFFFFFUL
|
||||
******************************************************/
|
||||
@@ -269,7 +269,7 @@ void _SetupMemoryRegion(void)
|
||||
|
||||
dwRegionAttr =
|
||||
MPU_AP_FULL_ACCESS |
|
||||
STRONGLY_ORDERED_SHAREABLE_TYPE |
|
||||
INNER_NORMAL_WB_NWA_TYPE(SHAREABLE) |
|
||||
MPU_CalMPURegionSize(QSPI_END_ADDRESS - QSPI_START_ADDRESS) |
|
||||
MPU_REGION_ENABLE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user