[PATCH] PCM-038: fix SRAM device name

Alexander Shiyan shc_work at mail.ru
Sun Apr 8 12:35:31 EDT 2012


Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 arch/arm/boards/pcm038/pcm038.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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




More information about the barebox mailing list