diff options
-rw-r--r-- | board/altera/socfpga/qts/sdram_config.h (renamed from arch/arm/mach-socfpga/include/mach/sdram_config.h) | 0 | ||||
-rw-r--r-- | drivers/ddr/altera/sdram.c | 7 |
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/sdram_config.h b/board/altera/socfpga/qts/sdram_config.h index f6d51ca8ef..f6d51ca8ef 100644 --- a/arch/arm/mach-socfpga/include/mach/sdram_config.h +++ b/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 <watchdog.h> #include <asm/arch/fpga_manager.h> #include <asm/arch/sdram.h> -#include <asm/arch/sdram_config.h> #include <asm/arch/system_manager.h> #include <asm/io.h> +/* + * 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) |