This is an automated email from the ASF dual-hosted git repository.
jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 1bfe8bcf71 arch/arm64/imx9: Boot, move mmu init to correct place
1bfe8bcf71 is described below
commit 1bfe8bcf711d1c534c8e37bf4889c9b1834e0833
Author: Jouni Ukkonen <[email protected]>
AuthorDate: Fri Nov 29 09:32:55 2024 +0200
arch/arm64/imx9: Boot, move mmu init to correct place
MMU init must be after ddrinit.
Signed-off-by: Jouni Ukkonen <[email protected]>
---
arch/arm64/src/imx9/imx9_boot.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/src/imx9/imx9_boot.c b/arch/arm64/src/imx9/imx9_boot.c
index 473529966c..8f293ce8b1 100644
--- a/arch/arm64/src/imx9/imx9_boot.c
+++ b/arch/arm64/src/imx9/imx9_boot.c
@@ -124,10 +124,6 @@ void arm64_el_init(void)
void arm64_chip_boot(void)
{
- /* MAP IO and DRAM, enable MMU. */
-
- arm64_mmu_init(true);
-
#ifdef CONFIG_IMX9_BOOTLOADER
imx9_mix_powerup();
@@ -144,6 +140,10 @@ void arm64_chip_boot(void)
#endif
#endif
+ /* MAP IO and DRAM, enable MMU. */
+
+ arm64_mmu_init(true);
+
/* Do UART early initialization & pin muxing */
#ifdef CONFIG_IMX9_LPUART