summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-08-02 16:55:45 +0200
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:28 +0200
commit9c76df518cf419a9d7db89c85627049c5d11520f (patch)
tree3cb86f6d11fbec58a037d8d6dbf8fe7f2cc2641e
parent08eb947004c56710960b16bacd46a0a6b2af821c (diff)
downloadu-boot-9c76df518cf419a9d7db89c85627049c5d11520f.tar.gz
ddr: altera: sequencer: Move qts-generated files to board dir
Move the files generated by QTS into the board directory, they should not be part of the driver files at all. Signed-off-by: Marek Vasut <marex@denx.de> Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
-rw-r--r--board/altera/socfpga/qts/sequencer_auto.h (renamed from drivers/ddr/altera/sequencer_auto.h)0
-rw-r--r--board/altera/socfpga/qts/sequencer_auto_ac_init.h (renamed from drivers/ddr/altera/sequencer_auto_ac_init.h)0
-rw-r--r--board/altera/socfpga/qts/sequencer_auto_inst_init.h (renamed from drivers/ddr/altera/sequencer_auto_inst_init.h)0
-rw-r--r--board/altera/socfpga/qts/sequencer_defines.h (renamed from drivers/ddr/altera/sequencer_defines.h)0
-rw-r--r--drivers/ddr/altera/sequencer.c13
5 files changed, 9 insertions, 4 deletions
diff --git a/drivers/ddr/altera/sequencer_auto.h b/board/altera/socfpga/qts/sequencer_auto.h
index 0c5d83bbdf..0c5d83bbdf 100644
--- a/drivers/ddr/altera/sequencer_auto.h
+++ b/board/altera/socfpga/qts/sequencer_auto.h
diff --git a/drivers/ddr/altera/sequencer_auto_ac_init.h b/board/altera/socfpga/qts/sequencer_auto_ac_init.h
index c46421b212..c46421b212 100644
--- a/drivers/ddr/altera/sequencer_auto_ac_init.h
+++ b/board/altera/socfpga/qts/sequencer_auto_ac_init.h
diff --git a/drivers/ddr/altera/sequencer_auto_inst_init.h b/board/altera/socfpga/qts/sequencer_auto_inst_init.h
index ad0395b496..ad0395b496 100644
--- a/drivers/ddr/altera/sequencer_auto_inst_init.h
+++ b/board/altera/socfpga/qts/sequencer_auto_inst_init.h
diff --git a/drivers/ddr/altera/sequencer_defines.h b/board/altera/socfpga/qts/sequencer_defines.h
index 32f13ac9f8..32f13ac9f8 100644
--- a/drivers/ddr/altera/sequencer_defines.h
+++ b/board/altera/socfpga/qts/sequencer_defines.h
diff --git a/drivers/ddr/altera/sequencer.c b/drivers/ddr/altera/sequencer.c
index 37f735475b..bc2e4571fb 100644
--- a/drivers/ddr/altera/sequencer.c
+++ b/drivers/ddr/altera/sequencer.c
@@ -9,10 +9,15 @@
#include <asm/arch/sdram.h>
#include <errno.h>
#include "sequencer.h"
-#include "sequencer_auto.h"
-#include "sequencer_auto_ac_init.h"
-#include "sequencer_auto_inst_init.h"
-#include "sequencer_defines.h"
+
+/*
+ * FIXME: This path is temporary until the SDRAM driver gets
+ * a proper thorough cleanup.
+ */
+#include "../../../board/altera/socfpga/qts/sequencer_auto.h"
+#include "../../../board/altera/socfpga/qts/sequencer_auto_ac_init.h"
+#include "../../../board/altera/socfpga/qts/sequencer_auto_inst_init.h"
+#include "../../../board/altera/socfpga/qts/sequencer_defines.h"
static struct socfpga_sdr_rw_load_manager *sdr_rw_load_mgr_regs =
(struct socfpga_sdr_rw_load_manager *)(SDR_PHYGRP_RWMGRGRP_ADDRESS | 0x800);