Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch/arm64/imx9: Boot, move mmu init to correct place #14986

Merged
merged 1 commit into from
Nov 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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