From: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Date: Thu, 5 Jun 2014 19:10:57 +0000 (-0500)
Subject: ARM: pxa: call debug_ll_io_init for earlyprintk
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2111667b467748ba8a3d8950e79e6921221f41eb;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git

ARM: pxa: call debug_ll_io_init for earlyprintk

This is already done automatically for many other ARM platforms by the
ARM core code, but since pxa is using the .map_io callback, it needs to
call it explicitely for earlyprintk support.

Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Acked-by: Haojian Zhuang <haojian.zhuang@linaro.org>
---

diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c
index 42254175fcf4..94f49c23ca02 100644
--- a/arch/arm/mach-pxa/generic.c
+++ b/arch/arm/mach-pxa/generic.c
@@ -93,5 +93,6 @@ static struct map_desc common_io_desc[] __initdata = {
 
 void __init pxa_map_io(void)
 {
+	debug_ll_io_init();
 	iotable_init(ARRAY_AND_SIZE(common_io_desc));
 }