فهرست منبع

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 <marex@denx.de>
Marek Vasut 9 سال پیش
والد
کامیت
d04941cf33
2فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  1. 0 0
      board/altera/socfpga/qts/sdram_config.h
  2. 6 1
      drivers/ddr/altera/sdram.c

+ 0 - 0
arch/arm/mach-socfpga/include/mach/sdram_config.h → board/altera/socfpga/qts/sdram_config.h


+ 6 - 1
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)