ARM: versatile: drop warnings
authorStefano Babic <sbabic@denx.de>
Mon, 29 Aug 2011 22:49:54 +0000 (22:49 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 4 Sep 2011 09:36:13 +0000 (11:36 +0200)
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>
board/armltd/versatile/versatile.c

index ee8cb5e3c7d9b276a9defdf7d752d3411ee59eab..4a5c31dbf78d06c50ede6bc2ae4f35c6c30dc56b 100644 (file)
@@ -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;
 }