| 1 | From 114df1e368b8503de1fe63e97d6eea521eecfbe4 Mon Sep 17 00:00:00 2001 |
| 2 | From: Gabor Juhos <juhosg@openwrt.org> |
| 3 | Date: Sun, 24 Jun 2012 13:40:38 +0200 |
| 4 | Subject: [PATCH 16/34] MIPS: ath79: add early printk support for the QCA955X SoCs |
| 5 | |
| 6 | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> |
| 7 | --- |
| 8 | arch/mips/ath79/early_printk.c | 1 + |
| 9 | arch/mips/include/asm/mach-ath79/ar71xx_regs.h | 1 + |
| 10 | 2 files changed, 2 insertions(+), 0 deletions(-) |
| 11 | |
| 12 | --- a/arch/mips/ath79/early_printk.c |
| 13 | +++ b/arch/mips/ath79/early_printk.c |
| 14 | @@ -74,6 +74,7 @@ static void prom_putchar_init(void) |
| 15 | case REV_ID_MAJOR_AR9341: |
| 16 | case REV_ID_MAJOR_AR9342: |
| 17 | case REV_ID_MAJOR_AR9344: |
| 18 | + case REV_ID_MAJOR_QCA9558: |
| 19 | _prom_putchar = prom_putchar_ar71xx; |
| 20 | break; |
| 21 | |
| 22 | --- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h |
| 23 | +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h |
| 24 | @@ -370,6 +370,7 @@ |
| 25 | #define REV_ID_MAJOR_AR9341 0x0120 |
| 26 | #define REV_ID_MAJOR_AR9342 0x1120 |
| 27 | #define REV_ID_MAJOR_AR9344 0x2120 |
| 28 | +#define REV_ID_MAJOR_QCA9558 0x1130 |
| 29 | |
| 30 | #define AR71XX_REV_ID_MINOR_MASK 0x3 |
| 31 | #define AR71XX_REV_ID_MINOR_AR7130 0x0 |
| 32 | |