summaryrefslogtreecommitdiff
path: root/board/wandboard/wandboard.c
diff options
context:
space:
mode:
authorTapani Utriainen <tapani@technexion.com>2013-06-26 17:51:49 +0800
committerStefano Babic <sbabic@denx.de>2013-06-26 16:14:32 +0200
commit491f2947a1abf12aa119f9412aa259c0b128f859 (patch)
tree1e8f04afd688cf64f40793cec056cbfab30397ac /board/wandboard/wandboard.c
parent4a1c7b13ae104d4526d3176793b7f6b06694df15 (diff)
downloadu-boot-imx-491f2947a1abf12aa119f9412aa259c0b128f859.zip
u-boot-imx-491f2947a1abf12aa119f9412aa259c0b128f859.tar.gz
u-boot-imx-491f2947a1abf12aa119f9412aa259c0b128f859.tar.bz2
Add support for Wandboard Quad
Add support for the Quad version of Wandboard; fix compile warning resulting from having 2G of memory. Signed-off-by: Tapani Utriainen <tapani@technexion.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/wandboard/wandboard.c')
-rw-r--r--board/wandboard/wandboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c
index 5666cbf..43c02ac 100644
--- a/board/wandboard/wandboard.c
+++ b/board/wandboard/wandboard.c
@@ -48,7 +48,7 @@ DECLARE_GLOBAL_DATA_PTR;
int dram_init(void)
{
- gd->ram_size = CONFIG_DDR_MB * SZ_1M;
+ gd->ram_size = (phys_size_t)CONFIG_DDR_MB * 1024 * 1024;
return 0;
}