Skip to content

Commit

Permalink
arch/arm64/imx9: Boot, move mmu init to correct place
Browse files Browse the repository at this point in the history
MMU init must be after ddrinit.

Signed-off-by: Jouni Ukkonen <[email protected]>
  • Loading branch information
joukkone authored and jerpelea committed Nov 29, 2024
1 parent f589d5a commit 1bfe8bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/arm64/src/imx9/imx9_boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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
Expand Down

0 comments on commit 1bfe8bc

Please sign in to comment.