[PATCH] arm: pxa: call debug_ll_io_init for earlyprintk

Andrew Ruder andrew.ruder at elecsyscorp.com
Thu Jun 5 12:10:57 PDT 2014


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 at elecsyscorp.com>
---
 arch/arm/mach-pxa/generic.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c
index 4225417..94f49c2 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));
 }
-- 
1.9.0.rc3.12.gbc97e2d




More information about the linux-arm-kernel mailing list