projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a410d0a
)
ARM: versatile: drop warnings
author
Stefano Babic
<sbabic@denx.de>
Mon, 29 Aug 2011 22:49:54 +0000
(22:49 +0000)
committer
Albert 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
patch
|
blob
|
history
diff --git
a/board/armltd/versatile/versatile.c
b/board/armltd/versatile/versatile.c
index ee8cb5e3c7d9b276a9defdf7d752d3411ee59eab..4a5c31dbf78d06c50ede6bc2ae4f35c6c30dc56b 100644
(file)
--- 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((vo
latile vo
id *)CONFIG_SYS_SDRAM_BASE,
+ gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE,
PHYS_SDRAM_1_SIZE);
return 0;
}