ath79: replace patches
[openwrt/openwrt.git] / target / linux / ath79 / patches-4.14 / 0015-MIPS-ath79-enable-uart-during-early_prink.patch
index 5826d01764abfcf36bd13003e91e630b924c588d..eaa960a6e679abc49912157aff35a2357811a059 100644 (file)
@@ -1,9 +1,13 @@
-From b14f8260724abec6c82970085dece6a143d3a0db Mon Sep 17 00:00:00 2001
+From f55a400f4a691f3750eaf7bfcd6ecbf7ed1622f0 Mon Sep 17 00:00:00 2001
 From: Gabor Juhos <juhosg@openwrt.org>
 Date: Mon, 5 Mar 2018 11:38:21 +0100
-Subject: [PATCH 15/27] MIPS: ath79: enable uart during early_prink
+Subject: [PATCH 15/33] MIPS: ath79: enable uart during early_prink
+
+This patch ensures, that the poinmux register is properly setup for the
+boot console uart when early_printk is enabled.
 
 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
+Signed-off-by: John Crispin <john@phrozen.org>
 ---
  arch/mips/ath79/early_printk.c | 44 +++++++++++++++++++++++++++++++++++++++++-
  1 file changed, 43 insertions(+), 1 deletion(-)
@@ -57,7 +61,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  static void prom_putchar_init(void)
  {
        void __iomem *base;
-@@ -88,8 +128,10 @@ static void prom_putchar_init(void)
+@@ -92,8 +132,10 @@ static void prom_putchar_init(void)
  
        default:
                _prom_putchar = prom_putchar_dummy;