Re: [U-Boot] [PATCH 2/2] ARMV7: Vexpress compile warnings

2010-12-08 Thread Wolfgang Denk
Dear matt.wad...@linaro.org,

In message 1288740321-1341-3-git-send-email-matt.wad...@linaro.org you wrote:
 From: Matt Waddel matt.wad...@linaro.org
 
 Fixed pointer from integer without a cast warnings in Vexpress.
 
 Signed-off-by: Matt Waddel matt.wad...@linaro.org
 ---
  board/armltd/vexpress/ca9x4_ct_vxp.c |9 ++---
  1 files changed, 6 insertions(+), 3 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
The bad reputation UNIX has gotten is totally undeserved, laid on by
people who don't understand, who have not gotten in there  and  tried
anything.  -- Jim Joyce, owner of Jim Joyce's UNIX Bookstore
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 2/2] ARMV7: Vexpress compile warnings

2010-11-02 Thread matt . waddel
From: Matt Waddel matt.wad...@linaro.org

Fixed pointer from integer without a cast warnings in Vexpress.

Signed-off-by: Matt Waddel matt.wad...@linaro.org
---
 board/armltd/vexpress/ca9x4_ct_vxp.c |9 ++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/board/armltd/vexpress/ca9x4_ct_vxp.c 
b/board/armltd/vexpress/ca9x4_ct_vxp.c
index 48dfc8c..c1c4ea1 100644
--- a/board/armltd/vexpress/ca9x4_ct_vxp.c
+++ b/board/armltd/vexpress/ca9x4_ct_vxp.c
@@ -95,16 +95,19 @@ static void flash__init(void)
 
 int dram_init(void)
 {
-   gd-ram_size = get_ram_size(CONFIG_SYS_SDRAM_BASE, PHYS_SDRAM_1_SIZE);
+   gd-ram_size =
+   get_ram_size((long *)CONFIG_SYS_SDRAM_BASE, PHYS_SDRAM_1_SIZE);
return 0;
 }
 
 void dram_init_banksize(void)
 {
gd-bd-bi_dram[0].start = PHYS_SDRAM_1;
-   gd-bd-bi_dram[0].size = get_ram_size(PHYS_SDRAM_1, PHYS_SDRAM_1_SIZE);
+   gd-bd-bi_dram[0].size =
+   get_ram_size((long *)PHYS_SDRAM_1, PHYS_SDRAM_1_SIZE);
gd-bd-bi_dram[1].start = PHYS_SDRAM_2;
-   gd-bd-bi_dram[1].size = get_ram_size(PHYS_SDRAM_2, PHYS_SDRAM_2_SIZE);
+   gd-bd-bi_dram[1].size =
+   get_ram_size((long *)PHYS_SDRAM_2, PHYS_SDRAM_2_SIZE);
 }
 
 int timer_init(void)
-- 
1.7.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot