aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2013-07-04 03:16:41 -0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2013-08-22 06:41:12 -0400
commitacbece315a6ee07881295749d0e2dd5674103334 (patch)
tree777e82bf37acaeb32d0c98d2f2bb9e5a36aceb1b /arch
parentfb941e8487dafe1c4ae3342b7011143dcc7c8e38 (diff)
ARM: at91: sama5: enable kernel uncompress info output
Enable kernel uncompress info output, which will show as following: ---8>--- Uncompressing Linux... done, booting the kernel. ---<8--- Signed-off-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-at91/include/mach/uncompress.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/uncompress.h b/arch/arm/mach-at91/include/mach/uncompress.h
index 5659f7c72120..fe097e6f839c 100644
--- a/arch/arm/mach-at91/include/mach/uncompress.h
+++ b/arch/arm/mach-at91/include/mach/uncompress.h
@@ -94,6 +94,15 @@ static const u32 uarts_sam9x5[] = {
94 0, 94 0,
95}; 95};
96 96
97static const u32 uarts_sama5[] = {
98 AT91_BASE_DBGU1,
99 SAMA5D3_BASE_USART0,
100 SAMA5D3_BASE_USART1,
101 SAMA5D3_BASE_USART2,
102 SAMA5D3_BASE_USART3,
103 0,
104};
105
97static inline const u32* decomp_soc_detect(void __iomem *dbgu_base) 106static inline const u32* decomp_soc_detect(void __iomem *dbgu_base)
98{ 107{
99 u32 cidr, socid; 108 u32 cidr, socid;
@@ -123,6 +132,9 @@ static inline const u32* decomp_soc_detect(void __iomem *dbgu_base)
123 132
124 case ARCH_ID_AT91SAM9X5: 133 case ARCH_ID_AT91SAM9X5:
125 return uarts_sam9x5; 134 return uarts_sam9x5;
135
136 case ARCH_ID_SAMA5D3:
137 return uarts_sama5;
126 } 138 }
127 139
128 /* at91sam9g10 */ 140 /* at91sam9g10 */