浏览代码

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>
Bo Shen 12 年之前
父节点
当前提交
acbece315a
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      arch/arm/mach-at91/include/mach/uncompress.h

+ 12 - 0
arch/arm/mach-at91/include/mach/uncompress.h

@@ -94,6 +94,15 @@ static const u32 uarts_sam9x5[] = {
 	0,
 	0,
 };
 };
 
 
+static const u32 uarts_sama5[] = {
+	AT91_BASE_DBGU1,
+	SAMA5D3_BASE_USART0,
+	SAMA5D3_BASE_USART1,
+	SAMA5D3_BASE_USART2,
+	SAMA5D3_BASE_USART3,
+	0,
+};
+
 static inline const u32* decomp_soc_detect(void __iomem *dbgu_base)
 static inline const u32* decomp_soc_detect(void __iomem *dbgu_base)
 {
 {
 	u32 cidr, socid;
 	u32 cidr, socid;
@@ -123,6 +132,9 @@ static inline const u32* decomp_soc_detect(void __iomem *dbgu_base)
 
 
 	case ARCH_ID_AT91SAM9X5:
 	case ARCH_ID_AT91SAM9X5:
 		return uarts_sam9x5;
 		return uarts_sam9x5;
+
+	case ARCH_ID_SAMA5D3:
+		return uarts_sama5;
 	}
 	}
 
 
 	/* at91sam9g10 */
 	/* at91sam9g10 */