summaryrefslogtreecommitdiff
path: root/board/armltd
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2011-08-29 22:49:54 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-04 11:36:13 +0200
commit689d0fa36a7c6dd79f6184d1ded5ca3f8d10d7ad (patch)
tree6f7eca3a867dde2f7b8f80917561353db9cf4406 /board/armltd
parenta410d0a343a474538b3751b3cbbb797d273987e1 (diff)
ARM: versatile: drop warnings
Drop warning: "passing argument 1 of 'get_ram_size' discards qualifiers from pointer target type" Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Albert Aribaud <albert.u.boot@aribaud.net>
Diffstat (limited to 'board/armltd')
-rw-r--r--board/armltd/versatile/versatile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/armltd/versatile/versatile.c b/board/armltd/versatile/versatile.c
index ee8cb5e3c7d..4a5c31dbf78 100644
--- a/board/armltd/versatile/versatile.c
+++ b/board/armltd/versatile/versatile.c
@@ -94,7 +94,7 @@ int misc_init_r (void)
int dram_init (void)
{
/* dram_init must store complete ramsize in gd->ram_size */
- gd->ram_size = get_ram_size((volatile void *)CONFIG_SYS_SDRAM_BASE,
+ gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE,
PHYS_SDRAM_1_SIZE);
return 0;
}