]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/mx6sxsabreauto/mx6sxsabreauto.c
pbl: use "wait" command instead of "flush" command
[u-boot] / board / freescale / mx6sxsabreauto / mx6sxsabreauto.c
index a240982975316d400e274037d14feff2e653cfc7..44e6a7d14115558f5c305ce8d9c680e00cfdc6c5 100644 (file)
@@ -28,7 +28,7 @@
 #include <power/pfuze100_pmic.h>
 #include "../common/pfuze.h"
 #include <usb.h>
-#include <usb/ehci-fsl.h>
+#include <usb/ehci-ci.h>
 #include <pca953x.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -106,7 +106,7 @@ static int port_exp_direction_output(unsigned gpio, int value)
 
 int dram_init(void)
 {
-       gd->ram_size = PHYS_SDRAM_SIZE;
+       gd->ram_size = imx_ddr_size();
 
        return 0;
 }