diff options
author | Stefano Babic <sbabic@denx.de> | 2011-08-26 12:06:56 +0200 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-09-04 11:36:13 +0200 |
commit | a410d0a343a474538b3751b3cbbb797d273987e1 (patch) | |
tree | fdeae9b03a59116843651eae1f8d4269aff7c913 /board/scb9328 | |
parent | 87e14f0f56df39c82dbfb0d997c1ba657c003882 (diff) | |
download | u-boot-imx-a410d0a343a474538b3751b3cbbb797d273987e1.zip u-boot-imx-a410d0a343a474538b3751b3cbbb797d273987e1.tar.gz u-boot-imx-a410d0a343a474538b3751b3cbbb797d273987e1.tar.bz2 |
IMX: scb9328: 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: Torsten Koschorrek <koschorrek@synertronixx.de>
Diffstat (limited to 'board/scb9328')
-rw-r--r-- | board/scb9328/scb9328.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/scb9328/scb9328.c b/board/scb9328/scb9328.c index 2e31e8c..076c046 100644 --- 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((volatile void *)SCB9328_SDRAM_1, + gd->ram_size = get_ram_size((void *)SCB9328_SDRAM_1, SCB9328_SDRAM_1_SIZE); return 0; |