[PATCH]NUC900 add gpio virtual memory map

Qiang Wang rurality.linux at gmail.com
Tue Feb 9 21:31:12 EST 2010


hello, Mr Russell

please check and ack this patch.

thank you very much.

best regards
wangqiang

2010/2/2 Qiang Wang <rurality.linux at gmail.com>:
> hi, Dear Wan
>
>   This patch adds the gpio registers virtual memory map.
>   Without it, the gpio access will cause the "Data Abort" due to no
> virtual memory assign to it.
>
> Signed-off-by: Wang Qiang <rurality.linux at gmail.com>
> Cc: Wang Zongshun <mcuos.com at gmail.com>
> ---
>  arch/arm/mach-w90x900/cpu.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c
> index 20dc0c9..7a79de0 100644
> --- a/arch/arm/mach-w90x900/cpu.c
> +++ b/arch/arm/mach-w90x900/cpu.c
> @@ -45,6 +45,7 @@ static struct map_desc nuc900_iodesc[] __initdata = {
>        IODESC_ENT(UART),
>        IODESC_ENT(TIMER),
>        IODESC_ENT(EBI),
> +       IODESC_ENT(GPIO),
>  };
>
>  /* Initial clock declarations. */
> --
> 1.6.4
>



More information about the linux-arm-kernel mailing list