mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
arch/arm64/imx9: Boot, move mmu init to correct place
MMU init must be after ddrinit. Signed-off-by: Jouni Ukkonen <jouni.ukkonen@unikie.com>
This commit is contained in:
committed by
Alin Jerpelea
parent
f589d5a4c7
commit
1bfe8bcf71
@@ -124,10 +124,6 @@ void arm64_el_init(void)
|
|||||||
|
|
||||||
void arm64_chip_boot(void)
|
void arm64_chip_boot(void)
|
||||||
{
|
{
|
||||||
/* MAP IO and DRAM, enable MMU. */
|
|
||||||
|
|
||||||
arm64_mmu_init(true);
|
|
||||||
|
|
||||||
#ifdef CONFIG_IMX9_BOOTLOADER
|
#ifdef CONFIG_IMX9_BOOTLOADER
|
||||||
imx9_mix_powerup();
|
imx9_mix_powerup();
|
||||||
|
|
||||||
@@ -144,6 +140,10 @@ void arm64_chip_boot(void)
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* MAP IO and DRAM, enable MMU. */
|
||||||
|
|
||||||
|
arm64_mmu_init(true);
|
||||||
|
|
||||||
/* Do UART early initialization & pin muxing */
|
/* Do UART early initialization & pin muxing */
|
||||||
|
|
||||||
#ifdef CONFIG_IMX9_LPUART
|
#ifdef CONFIG_IMX9_LPUART
|
||||||
|
|||||||
Reference in New Issue
Block a user