[U-Boot] [PATCH 01/15] ddr: altera: sequencer: Move qts-generated files to board dir

Marek Vasut marex at denx.de
Mon Aug 3 01:21:48 CEST 2015


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 at denx.de>
---
 .../altera => board/altera/socfpga/qts}/sequencer_auto.h    |  0
 .../altera/socfpga/qts}/sequencer_auto_ac_init.h            |  0
 .../altera/socfpga/qts}/sequencer_auto_inst_init.h          |  0
 .../altera => board/altera/socfpga/qts}/sequencer_defines.h |  0
 drivers/ddr/altera/sequencer.c                              | 13 +++++++++----
 5 files changed, 9 insertions(+), 4 deletions(-)
 rename {drivers/ddr/altera => board/altera/socfpga/qts}/sequencer_auto.h (100%)
 rename {drivers/ddr/altera => board/altera/socfpga/qts}/sequencer_auto_ac_init.h (100%)
 rename {drivers/ddr/altera => board/altera/socfpga/qts}/sequencer_auto_inst_init.h (100%)
 rename {drivers/ddr/altera => board/altera/socfpga/qts}/sequencer_defines.h (100%)

diff --git a/drivers/ddr/altera/sequencer_auto.h b/board/altera/socfpga/qts/sequencer_auto.h
similarity index 100%
rename from drivers/ddr/altera/sequencer_auto.h
rename to 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
similarity index 100%
rename from drivers/ddr/altera/sequencer_auto_ac_init.h
rename to 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
similarity index 100%
rename from drivers/ddr/altera/sequencer_auto_inst_init.h
rename to 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
similarity index 100%
rename from drivers/ddr/altera/sequencer_defines.h
rename to board/altera/socfpga/qts/sequencer_defines.h
diff --git a/drivers/ddr/altera/sequencer.c b/drivers/ddr/altera/sequencer.c
index 37f7354..bc2e457 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);
-- 
2.1.4



More information about the U-Boot mailing list