diff options
Diffstat (limited to 'src/soc/marvell/mvmap2315/romstage.c')
-rw-r--r-- | src/soc/marvell/mvmap2315/romstage.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/marvell/mvmap2315/romstage.c b/src/soc/marvell/mvmap2315/romstage.c index dfd3bcf91a..cffa8d0bff 100644 --- a/src/soc/marvell/mvmap2315/romstage.c +++ b/src/soc/marvell/mvmap2315/romstage.c @@ -17,10 +17,12 @@ #include <stdint.h> #include <stdlib.h> +#include <arch/io.h> #include <arch/exception.h> #include <cbmem.h> #include <console/console.h> #include <program_loading.h> +#include <soc/addressmap.h> #include <soc/clock.h> #include <soc/mmu_operations.h> @@ -32,6 +34,11 @@ void main(void) clock_init(); + write32((void *)MVMAP2315_BOOTBLOCK_CB1, 0x4); + + while (read32((void *)MVMAP2315_BOOTBLOCK_CB2) != 0x4) + ; + mvmap2315_mmu_init(); cbmem_initialize_empty(); |