diff mbox

arm: pxa: call debug_ll_io_init for earlyprintk

Message ID 1401995457-24721-2-git-send-email-andrew.ruder@elecsyscorp.com (mailing list archive)
State New, archived
Headers show

Commit Message

Andrew Ruder June 5, 2014, 7:10 p.m. UTC
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>
---
 arch/arm/mach-pxa/generic.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Haojian Zhuang July 4, 2014, 12:39 p.m. UTC | #1
On Fri, Jun 6, 2014 at 3:10 AM, Andrew Ruder
<andrew.ruder@elecsyscorp.com> wrote:
> 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>
> ---
>  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
>

Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
diff mbox

Patch

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));
 }