diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-02-15 08:38:15 -0500 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-02-19 03:36:24 -0500 |
commit | 908987797076b848f01b32c21d61d0e152efc236 (patch) | |
tree | 16df15a3b76245f5188264853dfb3bdc6c718ec2 | |
parent | e3b25cead4b58fbf60270ba73a1669bf9e5635f5 (diff) |
MIPS: ath79: add early printk support for the QCA955X SoCs
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>
-rw-r--r-- | arch/mips/ath79/early_printk.c | 2 | ||||
-rw-r--r-- | arch/mips/include/asm/mach-ath79/ar71xx_regs.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/ath79/early_printk.c b/arch/mips/ath79/early_printk.c index dc938cb2ba58..b955fafc58ba 100644 --- a/arch/mips/ath79/early_printk.c +++ b/arch/mips/ath79/early_printk.c | |||
@@ -74,6 +74,8 @@ static void prom_putchar_init(void) | |||
74 | case REV_ID_MAJOR_AR9341: | 74 | case REV_ID_MAJOR_AR9341: |
75 | case REV_ID_MAJOR_AR9342: | 75 | case REV_ID_MAJOR_AR9342: |
76 | case REV_ID_MAJOR_AR9344: | 76 | case REV_ID_MAJOR_AR9344: |
77 | case REV_ID_MAJOR_QCA9556: | ||
78 | case REV_ID_MAJOR_QCA9558: | ||
77 | _prom_putchar = prom_putchar_ar71xx; | 79 | _prom_putchar = prom_putchar_ar71xx; |
78 | break; | 80 | break; |
79 | 81 | ||
diff --git a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h index a77f6ee70ec1..d02c2d4e600e 100644 --- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h | |||
@@ -370,6 +370,8 @@ | |||
370 | #define REV_ID_MAJOR_AR9341 0x0120 | 370 | #define REV_ID_MAJOR_AR9341 0x0120 |
371 | #define REV_ID_MAJOR_AR9342 0x1120 | 371 | #define REV_ID_MAJOR_AR9342 0x1120 |
372 | #define REV_ID_MAJOR_AR9344 0x2120 | 372 | #define REV_ID_MAJOR_AR9344 0x2120 |
373 | #define REV_ID_MAJOR_QCA9556 0x0130 | ||
374 | #define REV_ID_MAJOR_QCA9558 0x1130 | ||
373 | 375 | ||
374 | #define AR71XX_REV_ID_MINOR_MASK 0x3 | 376 | #define AR71XX_REV_ID_MINOR_MASK 0x3 |
375 | #define AR71XX_REV_ID_MINOR_AR7130 0x0 | 377 | #define AR71XX_REV_ID_MINOR_AR7130 0x0 |