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:
87e14f0
)
IMX: scb9328: drop warnings
author
Stefano Babic
<sbabic@denx.de>
Fri, 26 Aug 2011 10:06:56 +0000
(12:06 +0200)
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: Torsten Koschorrek <koschorrek@synertronixx.de>
board/scb9328/scb9328.c
patch
|
blob
|
history
diff --git
a/board/scb9328/scb9328.c
b/board/scb9328/scb9328.c
index 2e31e8c7b35fd6e6221a69834be4445c1c49f936..076c046ced3e712737b110640f278998f37f6599 100644
(file)
--- a/
board/scb9328/scb9328.c
+++ b/
board/scb9328/scb9328.c
@@
-40,7
+40,7
@@
int board_init (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 *)SCB9328_SDRAM_1,
+ gd->ram_size = get_ram_size((void *)SCB9328_SDRAM_1,
SCB9328_SDRAM_1_SIZE);
return 0;