Fix RAM version (don't initialize DDR controller)
authorPiotr Dymacz <pepe2k@gmail.com>
Wed, 15 Jun 2016 09:24:53 +0000 (11:24 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Wed, 15 Jun 2016 09:24:53 +0000 (11:24 +0200)
u-boot/board/ar7240/ap121/ap121.c
u-boot/board/ar7240/ap143/ap143.c
u-boot/board/ar7240/db12x/db12x.c

index 55737383dd988584710dc2ba9dd3b7f945094517..c4abf50158c2d556f06d30e30b5649dcc3b64392 100644 (file)
@@ -14,7 +14,9 @@
  */
 long int dram_init()
 {
+#ifndef CONFIG_SKIP_LOWLEVEL_INIT
        qca_dram_init();
+#endif
 
        return (long int)qca_dram_size();
 }
index 55737383dd988584710dc2ba9dd3b7f945094517..c4abf50158c2d556f06d30e30b5649dcc3b64392 100644 (file)
@@ -14,7 +14,9 @@
  */
 long int dram_init()
 {
+#ifndef CONFIG_SKIP_LOWLEVEL_INIT
        qca_dram_init();
+#endif
 
        return (long int)qca_dram_size();
 }
index 55737383dd988584710dc2ba9dd3b7f945094517..c4abf50158c2d556f06d30e30b5649dcc3b64392 100644 (file)
@@ -14,7 +14,9 @@
  */
 long int dram_init()
 {
+#ifndef CONFIG_SKIP_LOWLEVEL_INIT
        qca_dram_init();
+#endif
 
        return (long int)qca_dram_size();
 }