[PATCH 08/12] ARM: at91: boot_test_cmd: Use __iomem specifier for memory pointer

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Jan 29 12:50:37 EST 2014


On 23:34 Sat 25 Jan     , Alexander Shiyan wrote:
> Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
> ---
>  arch/arm/mach-at91/boot_test_cmd.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-at91/boot_test_cmd.c b/arch/arm/mach-at91/boot_test_cmd.c
> index aa5c020..c0658b9 100644
> --- a/arch/arm/mach-at91/boot_test_cmd.c
> +++ b/arch/arm/mach-at91/boot_test_cmd.c
> @@ -17,7 +17,7 @@ static int do_at91_boot_test(int argc, char *argv[])
>  {
>  	int opt;
>  	u32 *buf32;
> -	void *buf;
> +	void __iomem *buf;
this is a RAM no __iomem


iomem is for register

Best Resgards,
J.
>  	void (*jump)(void) = NULL;
>  	int fd;
>  	int ret = 1;
> -- 
> 1.8.3.2
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox



More information about the barebox mailing list