From e85598bdaa756523e2be2f642ede0f71d2a7335e Mon Sep 17 00:00:00 2001 From: isiora Date: Wed, 22 Nov 2017 09:56:00 +0000 Subject: Added mmu init call git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11055 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/startup/ARMCAx-TZ/compilers/GCC/crt0.S | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'os/common/startup/ARMCAx-TZ/compilers') 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 -- cgit v1.2.3