From: Marek Vasut Date: Sun, 12 Jul 2015 13:59:10 +0000 (+0200) Subject: arm: socfpga: Move sdram_config.h to board dir X-Git-Tag: v2015.10-rc2~384 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d04941cf3314c4b1f75f5c5d543b0c6257eff1ee;p=platform%2Fkernel%2Fu-boot.git arm: socfpga: Move sdram_config.h to board dir This file is absolutelly positively board specific, so move it into the correct place. Signed-off-by: Marek Vasut --- diff --git a/arch/arm/mach-socfpga/include/mach/sdram_config.h b/board/altera/socfpga/qts/sdram_config.h similarity index 100% rename from arch/arm/mach-socfpga/include/mach/sdram_config.h rename to board/altera/socfpga/qts/sdram_config.h diff --git a/drivers/ddr/altera/sdram.c b/drivers/ddr/altera/sdram.c index 5d8fed3..2822d1d 100644 --- a/drivers/ddr/altera/sdram.c +++ b/drivers/ddr/altera/sdram.c @@ -8,10 +8,15 @@ #include #include #include -#include #include #include +/* + * FIXME: This path is temporary until the SDRAM driver gets + * a proper thorough cleanup. + */ +#include "../../../board/altera/socfpga/qts/sdram_config.h" + /* define constant for 4G memory - used for SDRAM errata workaround */ #define MEMSIZE_4G (4ULL * 1024ULL * 1024ULL * 1024ULL)