MIPS: ath79: add early printk support for the QCA955X SoCs
authorGabor Juhos <juhosg@openwrt.org>
Fri, 15 Feb 2013 13:38:15 +0000 (13:38 +0000)
committerJohn Crispin <blogic@openwrt.org>
Tue, 19 Feb 2013 08:36:24 +0000 (09:36 +0100)
The patch allows to see kernel messages on the
QCA955X SoCs in early boot stage.

Cc: Rodriguez, Luis <rodrigue@qca.qualcomm.com>
Cc: Giori, Kathy <kgiori@qca.qualcomm.com>
Cc: QCA Linux Team <qca-linux-team@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4944/
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/ath79/early_printk.c
arch/mips/include/asm/mach-ath79/ar71xx_regs.h

index dc938cb2ba58f13d320d67b169eed69636cc5ed8..b955fafc58ba5c5f60a20db543f4711911d4a46d 100644 (file)
@@ -74,6 +74,8 @@ static void prom_putchar_init(void)
        case REV_ID_MAJOR_AR9341:
        case REV_ID_MAJOR_AR9342:
        case REV_ID_MAJOR_AR9344:
+       case REV_ID_MAJOR_QCA9556:
+       case REV_ID_MAJOR_QCA9558:
                _prom_putchar = prom_putchar_ar71xx;
                break;
 
index a77f6ee70ec107ffa40aebb8954f79430e50ab04..d02c2d4e600e8dac52b7972437121360c6f94532 100644 (file)
 #define REV_ID_MAJOR_AR9341            0x0120
 #define REV_ID_MAJOR_AR9342            0x1120
 #define REV_ID_MAJOR_AR9344            0x2120
+#define REV_ID_MAJOR_QCA9556           0x0130
+#define REV_ID_MAJOR_QCA9558           0x1130
 
 #define AR71XX_REV_ID_MINOR_MASK       0x3
 #define AR71XX_REV_ID_MINOR_AR7130     0x0