Reordering this ensures that the MPU regions are configured before enabling the MPU and restricting the memory access.