]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arm: socfpga: Move sdram_config.h to board dir
authorMarek Vasut <marex@denx.de>
Sun, 12 Jul 2015 13:59:10 +0000 (15:59 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:20 +0000 (08:17 +0200)
This file is absolutelly positively board specific, so move it
into the correct place.

Signed-off-by: Marek Vasut <marex@denx.de>
board/altera/socfpga/qts/sdram_config.h [moved from arch/arm/mach-socfpga/include/mach/sdram_config.h with 100% similarity]
drivers/ddr/altera/sdram.c

index 5d8fed36a85374f69aa51595671e57073035f7d5..2822d1d59e454fc8095eff5c35c3c09ae3593d80 100644 (file)
@@ -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)