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
Jouni Ukkonen committed Nov 29, 2024
1 parent 890058d commit ed74716
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arch/arm64/src/imx9/imx9_boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ void arm64_el_init(void)

void arm64_chip_boot(void)
{
/* MAP IO and DRAM, enable MMU. */

arm64_mmu_init(true);

Check failure on line 127 in arch/arm64/src/imx9/imx9_boot.c

View workflow job for this annotation

GitHub Actions / check

Blank line follows left brace
#ifdef CONFIG_IMX9_BOOTLOADER
imx9_mix_powerup();
Expand All @@ -144,6 +141,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 ed74716

Please sign in to comment.