[PATCH] arm: pxa: call debug_ll_io_init for earlyprintk

Haojian Zhuang haojian.zhuang at gmail.com
Fri Jul 4 05:39:34 PDT 2014


On Fri, Jun 6, 2014 at 3:10 AM, Andrew Ruder
<andrew.ruder at 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 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
>

Acked-by: Haojian Zhuang <haojian.zhuang at gmail.com>



More information about the linux-arm-kernel mailing list