From d04941cf3314c4b1f75f5c5d543b0c6257eff1ee Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 12 Jul 2015 15:59:10 +0200 Subject: [PATCH] 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 --- .../mach => board/altera/socfpga/qts}/sdram_config.h | 0 drivers/ddr/altera/sdram.c | 7 ++++++- 2 files changed, 6 insertions(+), 1 deletion(-) rename {arch/arm/mach-socfpga/include/mach => board/altera/socfpga/qts}/sdram_config.h (100%) 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 5d8fed36a8..2822d1d59e 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) -- 2.30.2