MIPS: ath79: enable uart during early_prink
authorGabor Juhos <juhosg@openwrt.org>
Fri, 20 Jul 2018 11:58:24 +0000 (13:58 +0200)
committerPaul Burton <paul.burton@mips.com>
Wed, 25 Jul 2018 02:07:42 +0000 (19:07 -0700)
commitffc2058189223a2625ff55dfe1676df86ed03ee3
tree7ba079dd70d1ff95f5f98920a0c80a0254d275c7
parente16343708eec32cb331f6c0dc71e5c52af741385
MIPS: ath79: enable uart during early_prink

This patch ensures, that the pinmux register is properly setup for the
boot console UART when early_printk is enabled.

[paul.burton@mips.com:
  - s/poinmux/pinmux/
  - s/uart/UART/
  - Drop extraneous parentheses.]

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
arch/mips/ath79/early_printk.c