]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/warp/warp.c
warp: Use imx_ddr_size() for calculating the DDR size
[karo-tx-uboot.git] / board / warp / warp.c
index 49dfdb67174aaa99972ddba6a0de7c35f125fa06..0bc0a6a92e66d16e639f13c54803830f2fa2c8e2 100644 (file)
@@ -46,7 +46,7 @@ DECLARE_GLOBAL_DATA_PTR;
 
 int dram_init(void)
 {
-       gd->ram_size = get_ram_size((void *)PHYS_SDRAM, PHYS_SDRAM_SIZE);
+       gd->ram_size = imx_ddr_size();
 
        return 0;
 }