[PATCH] PCM-038: fix SRAM device name

Sascha Hauer s.hauer at pengutronix.de
Tue Apr 10 03:40:33 EDT 2012


On Sun, Apr 08, 2012 at 08:35:31PM +0400, Alexander Shiyan wrote:
> 
> Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
> ---
>  arch/arm/boards/pcm038/pcm038.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/boards/pcm038/pcm038.c b/arch/arm/boards/pcm038/pcm038.c
> index 86bc721..b6f4b01 100644
> --- a/arch/arm/boards/pcm038/pcm038.c
> +++ b/arch/arm/boards/pcm038/pcm038.c
> @@ -135,7 +135,7 @@ static int pcm038_mem_init(void)
>  {
>  	arm_add_mem_device("ram0", 0xa0000000, 128 * 1024 * 1024);
>  
> -	add_mem_device("ram0", 0xc8000000, 512 * 1024, /* Can be up to 2MiB */
> +	add_mem_device("ram1", 0xc8000000, 512 * 1024, /* Can be up to 2MiB */
>  				   IORESOURCE_MEM_WRITEABLE);
>  	return 0;
>  }
> -- 
> 1.7.3.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list