atsam: Use normal memory for DTCM

Avoids problems with unaligned data access.
This commit is contained in:
Alexander Krutwig
2016-07-26 10:02:57 +02:00
committed by Sebastian Huber
parent 84008f9e43
commit c51e6d915c
@@ -138,6 +138,7 @@ void _SetupMemoryRegion(void)
dwRegionAttr =
MPU_AP_PRIVILEGED_READ_WRITE |
INNER_NORMAL_NOCACHE_TYPE(NON_SHAREABLE) |
MPU_CalMPURegionSize(DTCM_END_ADDRESS - DTCM_START_ADDRESS) |
MPU_REGION_ENABLE;