diff options
Diffstat (limited to 'arch/arm/mm/init.c')
-rw-r--r-- | arch/arm/mm/init.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index f6a999465323..526af48b1271 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c | |||
@@ -611,6 +611,14 @@ void __init mem_init(void) | |||
611 | 611 | ||
612 | printk(KERN_NOTICE "Virtual kernel memory layout:\n" | 612 | printk(KERN_NOTICE "Virtual kernel memory layout:\n" |
613 | " vector : 0x%08lx - 0x%08lx (%4ld kB)\n" | 613 | " vector : 0x%08lx - 0x%08lx (%4ld kB)\n" |
614 | #ifdef CONFIG_HAVE_TCM | ||
615 | #ifdef DTCM_OFFSET | ||
616 | " DTCM : 0x%08lx - 0x%08lx (%4ld kB)\n" | ||
617 | #endif | ||
618 | #ifdef ITCM_OFFSET | ||
619 | " ITCM : 0x%08lx - 0x%08lx (%4ld kB)\n" | ||
620 | #endif | ||
621 | #endif | ||
614 | " fixmap : 0x%08lx - 0x%08lx (%4ld kB)\n" | 622 | " fixmap : 0x%08lx - 0x%08lx (%4ld kB)\n" |
615 | #ifdef CONFIG_MMU | 623 | #ifdef CONFIG_MMU |
616 | " DMA : 0x%08lx - 0x%08lx (%4ld MB)\n" | 624 | " DMA : 0x%08lx - 0x%08lx (%4ld MB)\n" |
@@ -627,6 +635,14 @@ void __init mem_init(void) | |||
627 | 635 | ||
628 | MLK(UL(CONFIG_VECTORS_BASE), UL(CONFIG_VECTORS_BASE) + | 636 | MLK(UL(CONFIG_VECTORS_BASE), UL(CONFIG_VECTORS_BASE) + |
629 | (PAGE_SIZE)), | 637 | (PAGE_SIZE)), |
638 | #ifdef CONFIG_HAVE_TCM | ||
639 | #ifdef DTCM_OFFSET | ||
640 | MLK(UL(DTCM_OFFSET), UL(DTCM_END + 1)), | ||
641 | #endif | ||
642 | #ifdef ITCM_OFFSET | ||
643 | MLK(UL(ITCM_OFFSET), UL(ITCM_END + 1)), | ||
644 | #endif | ||
645 | #endif | ||
630 | MLK(FIXADDR_START, FIXADDR_TOP), | 646 | MLK(FIXADDR_START, FIXADDR_TOP), |
631 | #ifdef CONFIG_MMU | 647 | #ifdef CONFIG_MMU |
632 | MLM(CONSISTENT_BASE, CONSISTENT_END), | 648 | MLM(CONSISTENT_BASE, CONSISTENT_END), |