summaryrefslogtreecommitdiffstats
path: root/arch/mips/ath79/early_printk.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-14 10:45:19 +0100
committerRalf Baechle <ralf@linux-mips.org>2012-05-15 17:49:07 +0200
commit703327ddcc736a054f4e2c132235a8370d2f7870 (patch)
tree2c7f616a4bbb04eeb55a5895f8e9da99ba357606 /arch/mips/ath79/early_printk.c
parente9b62e8ef9d71ed977797529fc0dfc352448d50b (diff)
MIPS: ath79: add early_printk support for AR934X
The patch allows to see kernel messages on AR934X SoCs in early boot stage. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> Cc: linux-mips@linux-mips.org Cc: mcgrof@infradead.org Patchwork: https://patchwork.linux-mips.org/patch/3504/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ath79/early_printk.c')
-rw-r--r--arch/mips/ath79/early_printk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/ath79/early_printk.c b/arch/mips/ath79/early_printk.c
index 6a51ced7a29..dc938cb2ba5 100644
--- a/arch/mips/ath79/early_printk.c
+++ b/arch/mips/ath79/early_printk.c
@@ -71,6 +71,9 @@ static void prom_putchar_init(void)
case REV_ID_MAJOR_AR7241:
case REV_ID_MAJOR_AR7242:
case REV_ID_MAJOR_AR913X:
+ case REV_ID_MAJOR_AR9341:
+ case REV_ID_MAJOR_AR9342:
+ case REV_ID_MAJOR_AR9344:
_prom_putchar = prom_putchar_ar71xx;
break;