]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/boundary/nitrogen6x/nitrogen6x.c
nitrogen: Use unsigned long to specify the total RAM size
[karo-tx-uboot.git] / board / boundary / nitrogen6x / nitrogen6x.c
index 0dbb6d26bfb6af53b08663346550b31cc7369bae..229c2378396d43a365d6682af35c0e519ccd69d4 100644 (file)
@@ -86,7 +86,7 @@ DECLARE_GLOBAL_DATA_PTR;
 
 int dram_init(void)
 {
-       gd->ram_size = CONFIG_DDR_MB * 1024 * 1024;
+       gd->ram_size = ((ulong)CONFIG_DDR_MB * 1024 * 1024);
 
        return 0;
 }