summaryrefslogtreecommitdiff
path: root/board/freescale/mx35_3stack/mx35_3stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/mx35_3stack/mx35_3stack.c')
-rw-r--r--board/freescale/mx35_3stack/mx35_3stack.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/freescale/mx35_3stack/mx35_3stack.c b/board/freescale/mx35_3stack/mx35_3stack.c
index 5889a31..6480c16 100644
--- a/board/freescale/mx35_3stack/mx35_3stack.c
+++ b/board/freescale/mx35_3stack/mx35_3stack.c
@@ -75,7 +75,7 @@ int is_soc_rev(int rev)
#ifdef CONFIG_ARCH_MMU
void board_mmu_init(void)
{
- unsigned long ttb_base = PHYS_SDRAM_1 + 0x40000;
+ unsigned long ttb_base = PHYS_SDRAM_1 + 0x4000;
unsigned long i;
/*
@@ -131,6 +131,9 @@ void board_mmu_init(void)
X_ARM_MMU_SECTION(0xB20, 0xB20, 0x1E0,
ARM_UNCACHEABLE, ARM_UNBUFFERABLE,
ARM_ACCESS_PERM_RW_RW);
+
+ /* Enable MMU */
+ MMU_ON();
}
#endif