From: Piotr Dymacz Date: Wed, 15 Jun 2016 09:24:53 +0000 (+0200) Subject: Fix RAM version (don't initialize DDR controller) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=460bdae4e78d54d54ff6412627f5e30f43737d0d;p=oweals%2Fu-boot_mod.git Fix RAM version (don't initialize DDR controller) --- diff --git a/u-boot/board/ar7240/ap121/ap121.c b/u-boot/board/ar7240/ap121/ap121.c index 5573738..c4abf50 100644 --- a/u-boot/board/ar7240/ap121/ap121.c +++ b/u-boot/board/ar7240/ap121/ap121.c @@ -14,7 +14,9 @@ */ long int dram_init() { +#ifndef CONFIG_SKIP_LOWLEVEL_INIT qca_dram_init(); +#endif return (long int)qca_dram_size(); } diff --git a/u-boot/board/ar7240/ap143/ap143.c b/u-boot/board/ar7240/ap143/ap143.c index 5573738..c4abf50 100644 --- a/u-boot/board/ar7240/ap143/ap143.c +++ b/u-boot/board/ar7240/ap143/ap143.c @@ -14,7 +14,9 @@ */ long int dram_init() { +#ifndef CONFIG_SKIP_LOWLEVEL_INIT qca_dram_init(); +#endif return (long int)qca_dram_size(); } diff --git a/u-boot/board/ar7240/db12x/db12x.c b/u-boot/board/ar7240/db12x/db12x.c index 5573738..c4abf50 100644 --- a/u-boot/board/ar7240/db12x/db12x.c +++ b/u-boot/board/ar7240/db12x/db12x.c @@ -14,7 +14,9 @@ */ long int dram_init() { +#ifndef CONFIG_SKIP_LOWLEVEL_INIT qca_dram_init(); +#endif return (long int)qca_dram_size(); }