aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/startup/ARMCAx-TZ
diff options
context:
space:
mode:
authorisiora <none@example.com>2017-11-22 09:56:00 +0000
committerisiora <none@example.com>2017-11-22 09:56:00 +0000
commite85598bdaa756523e2be2f642ede0f71d2a7335e (patch)
tree9275c86894948966b258f3a06b6853b9e1061687 /os/common/startup/ARMCAx-TZ
parent02dab23663eba4f39b580cdb1eaa14b9560f7099 (diff)
downloadChibiOS-e85598bdaa756523e2be2f642ede0f71d2a7335e.tar.gz
ChibiOS-e85598bdaa756523e2be2f642ede0f71d2a7335e.tar.bz2
ChibiOS-e85598bdaa756523e2be2f642ede0f71d2a7335e.zip
Added mmu init call
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11055 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/startup/ARMCAx-TZ')
-rw-r--r--os/common/startup/ARMCAx-TZ/compilers/GCC/crt0.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/os/common/startup/ARMCAx-TZ/compilers/GCC/crt0.S b/os/common/startup/ARMCAx-TZ/compilers/GCC/crt0.S
index 43cb723ab..f9e807de7 100644
--- a/os/common/startup/ARMCAx-TZ/compilers/GCC/crt0.S
+++ b/os/common/startup/ARMCAx-TZ/compilers/GCC/crt0.S
@@ -18,7 +18,7 @@
* @file crt0.S
* @brief Generic ARM startup file.
*
- * @addtogroup ARM_GCC_STARTUP
+ * @addtogroup ARMCAx_GCC_STARTUP
* @{
*/
@@ -120,6 +120,9 @@ bssloop:
* Late initialization.
*/
#if !defined(THUMB_NO_INTERWORKING)
+#if defined(CH_CFG_USE_MMU)
+ bl __mmu_init
+#endif
bl __late_init
#else /* defined(THUMB_NO_INTERWORKING) */
add r0, pc, #1